问题描述
我已经在 Eclipse 中进行了很长时间的开发,但我正在认真研究 IntelliJ IDEA 9.0.3,因为它具有良好的 Flex 开发工具和 Maven flexmojos 集成.
I've been developing in Eclipse for a long while, but am taking a hard look at IntelliJ IDEA 9.0.3 because of its good Flex development tools and Maven flexmojos integration.
但我就是无法忍受 Ubuntu 10.04 上的东西的外观.来自 Eclipse,字体和颜色使所有内容都很难阅读......对眼睛来说非常紧张.我已经尝试过字体和颜色,现在好一点了.
But I just CAN'T STAND the look of the thing on Ubuntu 10.04. Coming from Eclipse, the fonts and colors make everything very hard to read....very straining on the eyes. I've played around with fonts and colors and now its a little bit better.
但是是否有一些善良的灵魂已经创建了某种配置文件,我可以将其加载到 IDEA 和 poof 中——让它在视觉上看起来更像 Eclipse?
But has some kind soul already created some sort of profile I can load into IDEA and poof -- make it visually look more like Eclipse?
推荐答案
Eclipse 和 IDEA 使用不同的 UI 工具包(SWT vs SWING),所以很难让它看起来一样.
Eclipse and IDEA are using different UI toolkits (SWT vs SWING), so it would be hard to make it look the same.
正如@Shakedown 所说,在 Settings | 中改变 Look&Feel外观
是选项之一.请注意,Java 允许安装额外的第三方外观.
As @Shakedown said, changing Look&Feel in Settings | Appearance
is one of the options. Note that Java allows to install additional third-party Look&Feels.
编辑器字体在Settings | 中配置编辑|颜色和字体
.字体由 JVM 呈现,因此它会显示它可以找到的任何 TTF 字体.如果由于某种原因不是所有系统 TTF 字体都可见,您需要将 *.ttf 文件复制到 JDK_HOME/jre/lib/fonts
.重新启动 IDEA 后,您将能够选择新字体.将不会列出缺少正确代码显示所需的某些 Unicode 字符的字体.
Editor font is configured in Settings | Editor | Colors & Fonts
. Fonts are rendered by the JVM, so it shows any TTF fonts that it can find. If for some reason not all your system TTF fonts are visible, you need to copy *.ttf files into JDK_HOME/jre/lib/fonts
. After restarting IDEA you'll be able to choose new fonts. Fonts missing some Unicode characters required for proper code display will not be listed.
查看最流行的编程字体列表.但是,Java 只能呈现 TTF 字体,并且可能很难找到某些字体的 TrueType 版本.我最喜欢的字体是 Consolas(随 Windows 提供).
Check out the list of most popular programming fonts. However, Java can render TTF fonts only and it may be hard to find TrueType versions of some fonts. My favorite font is Consolas (provided with Windows).
至于配色方案,您可以 Google 提供多种 XML 格式的预设,例如这个.下载链接的 XML,将其重命名为 Cobalt.xml
,将文件放在 ~/.IntelliJIdea90/config/colors
目录中.重启IDEA,在Settings | 中选择Cobalt scheme编辑|颜色和字体
.
As for the color schemes, you can Google several contributed presets in the XML format, like this one. Download the linked XML, rename it to Cobalt.xml
, place the file in ~/.IntelliJIdea90/config/colors
directory. Restart IDEA, select Cobalt scheme in Settings | Editor | Colors & Fonts
.
另一个不错的配色方案是VibrantInk.
Another nice color scheme is VibrantInk.
如果您愿意,也可以禁用侧边工具窗口栏、菜单栏等,使 IDEA 看起来像一个简单的编辑器,甚至可以完全隐藏编辑器选项卡.
It's also possible to disable side tool window bars, menu bar, etc to make IDEA look like simple editor if you'd like so, even editor tabs can be completely hidden.
这篇关于我可以让 IntelliJ IDEA 看起来更像 Eclipse 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!