Eclipse 的最小主题

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/834575/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 13:41:43  来源:igfitidea点击:

Minimal theme for Eclipse

eclipseuser-interfacethemesskin

提问by nickf

I've just been setting up a new 10" netbook and have just installed Eclipse for some development. Even on large screens I've found Eclipse's GUI to be very bulky and awkward to work with, and now on a small screen, the real estate left for actual coding is ludicrously small. Is it possible to apply a theme or skin to Eclipse to make it somewhat more minimal? Do you know any good themes for small screens?

我刚刚设置了一个新的 10" 上网本,并且刚刚安装了 Eclipse 以进行一些开发。即使在大屏幕上,我也发现 Eclipse 的 GUI 非常笨重且难以使用,而现在在小屏幕上,真正的留给实际编码的空间小得可笑。是否可以将主题或皮肤应用于 Eclipse 以使其更小一些?您知道小屏幕有什么好的主题吗?

采纳答案by Fabian Steeg

If I maximize the editor (Ctrl-M) and use the Eclipse Full Screen PluginI find Eclipse pretty usable on my 10" netbook.

如果我最大化编辑器 (Ctrl-M) 并使用Eclipse 全屏插件,我会发现 Eclipse 在我的 10" 上网本上非常有用。

回答by coobird

If I may, please let me make a plug to my blog entry on running Eclipse on the Eee PC 901, which has a 8.9 inch screen with a resolution of 1024 x 600.

如果可以,请让我插入关于在 Eee PC 901 上运行 Eclipse 的博客条目,它有一个 8.9 英寸的屏幕,分辨率为 1024 x 600。

I have some tips toward the end of the entry on ways to maximize the screen real estate in order to be able to show as much source code as possible on the screen.

在本条目的末尾,我有一些关于最大化屏幕空间的技巧,以便能够在屏幕上显示尽可能多的源代码。

The main points are:

要点是:

  • Vertical screen real estate is limited, so try to find ways to reduce the vertical spread of windows.
  • Use the OS theme which reduces the amount of vertical space used. For example, use the Windows Classic theme in Windows XP in order to save 8 pixels over the default theme.
  • Reduce the numbers of rows in the Eclipse toolbar.
  • Use the auto-hide feature of the Windows taskbar to squeeze another 30 pixels in the vertical direction.
  • 竖屏空间有限,所以尽量想办法减少窗口的垂直传播。
  • 使用可减少垂直空间使用量的操作系统主题。例如,在 Windows XP 中使用 Windows 经典主题,以便比默认主题节省 8 个像素。
  • 减少 Eclipse 工具栏中的行数。
  • 使用 Windows 任务栏的自动隐藏功能在垂直方向上再压缩 30 个像素。

With the tips applied, Eclipse on a 1024 x 600 screen looks like the following:

应用这些提示后,1024 x 600 屏幕上的 Eclipse 如下所示:

Eclipse screen

日食画面

(Link to full-size image)

(链接到全尺寸图像

回答by IAdapter

回答by Michael Borgwardt

You could try the somewhat more compact "Eclipse 2.1 Style Presentation" under General -> Appearance. In the same place, you can put "the Perspective switcher" on the left side.

您可以在 General -> Appearance 下尝试更紧凑的“Eclipse 2.1 Style Presentation”。在同一个地方,你可以把“透视切换器”放在左边。

But no theme can change the fact that a 10" screen simply is too small for a multi-view IDE like eclipse. Pretty much the only way to get around this is to use it more like a traditional editor, i.e. banish all views except the editor to the fastview barand learn to use hotkeysas much as possible, e.g. Ctrl-O instead of a spearate outline view, F5, F6 and F7 instead of the icons in the debug view, etc.

但是没有任何主题可以改变一个事实,即 10" 屏幕对于像 eclipse 这样的多视图 IDE 来说太小了。解决这个问题的唯一方法是像传统编辑器一样使用它,即消除所有视图,除了编辑到fastview 栏并尽可能多地学习使用热键,例如 Ctrl-O 代替单独的大纲视图,F5、F6 和 F7 代替调试视图中的图标等。

回答by Davo

I use SpringSource Tool Suite which is based on Eclipse. I run this on a 9" notebook. I gave up trying to find a plugin to make the view better but what I have done is right click on every window which docks to the right, left and bottom of the main editing area and selected "Fast View". This minimises these windows to icons on the toolbar at the very bottom of the screen, leaving most of the screen estate for editor windows. It seems to work OK. If I need to access Package Explorer etc. I just click the icon to bring it up, and again to hide it. I find it quite usable.

我使用基于 Eclipse 的 SpringSource 工具套件。我在 9" 笔记本上运行它。我放弃了寻找插件来改善视图的尝试,但我所做的是右键单击停靠在主编辑区域右侧、左侧和底部的每个窗口并选择“快速查看”。这将这些窗口最小化为屏幕底部工具栏上的图标,将大部分屏幕空间留给编辑器窗口。它似乎工作正常。如果我需要访问包资源管理器等。我只需单击图标调出它,然后再隐藏它。我觉得它非常有用。

回答by futurespective

I've just set up a new Ubuntu partition on my lenovo s10-3t netbook and installed Eclipse on it.

我刚刚在我的 lenovo s10-3t 上网本上设置了一个新的 Ubuntu 分区并在其上安装了 Eclipse。

Given the scarce screen real-estate one thing I'm trying is reducing all fonts sizeto 7/8/9. It's obviously a strain on the eyes though.

鉴于稀缺的屏幕空间,我正在尝试的一件事是将所有字体大小减少到 7/8/9。不过,这显然对眼睛造成了压力。

System fonts in Linux, System -> Preferences -> Appearances -> Fonts In Eclipse, Window -> Preferences -> General -> Appearance -> Colors and Fonts

Linux 中的系统字体,System -> Preferences -> Appearances -> Fonts In Eclipse,Window -> Preferences -> General -> Appearance -> Colors and Fonts