[英]Themes for Dart Editor
Right now, the white background is killing my eyes, as it's a looong dark night.现在,白色背景让我眼前一亮,因为这是一个漫长的黑夜。 Is it possible to change the theme (to something darker) from the Dart Editor (v 0.1)?
是否可以从 Dart 编辑器 (v 0.1) 更改主题(更改为更暗的主题)? What about picking a background colour and syntax highlighting?
选择背景颜色和语法高亮怎么样?
Yes, it is possible and I have just verified this quickfix for a darker background on the Dart Editor Version 0.1.0.201204042313
:是的,这是可能的,我刚刚在 Dart Editor
Version 0.1.0.201204042313
上验证了这个 quickfix 的较暗背景:
<DART-INSTALL-DIR>\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.editors.prefs
<DART-INSTALL-DIR>\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.editors.prefs
from:从:
#Fri Apr 06 20:28:37 EST 2012
eclipse.preferences.version=1
overviewRuler_migration=migrated_3.1
to:到:
#Fri Apr 06 20:28:38 EST 2012
AbstractTextEditor.Color.Background.SystemDefault=false
AbstractTextEditor.Color.Background=208,208,223
eclipse.preferences.version=1
overviewRuler_migration=migrated_3.1
Start your Dart Editor and the background should look like:启动你的 Dart 编辑器,背景应该是这样的:
You may create a "complete theme" simply adding more properties to the org.eclipse.ui.editors.prefs
and org.eclipse.jdt.ui.prefs
files.您可以创建一个“完整的主题”,只需向
org.eclipse.ui.editors.prefs
和org.eclipse.jdt.ui.prefs
文件添加更多属性。
I strongly suggest you to have a look inside the "Eclipse Preferences (EPF)" sample files of the project http://www.eclipsecolorthemes.org/我强烈建议您查看项目http://www.eclipsecolorthemes.org/的“Eclipse Preferences (EPF)”示例文件
I haven't tried yet but in theory you could manually install the plugin Eclipse Color Theme .我还没有尝试过,但理论上你可以手动安装插件Eclipse Color Theme 。
Update 06-Dec-2012 2012 年 12 月 6 日更新
The new Dart Editor Build 0.2.7.1_r15699
supports theming for both editor and panels.新的
Dart Editor Build 0.2.7.1_r15699
支持编辑器和面板的主题化。 This "trick" is not needed anymore, please customize your theme using Preferences --> Visual Theme
不再需要这个“技巧”,请使用
Preferences --> Visual Theme
Hannes Rammer built an open source tool for this Hannes Rammer 为此构建了一个开源工具
also available online at https://rainbow-dart.appspot.com/也可在线访问https://rainbow-dart.appspot.com/
I don't believe this is possible.我不相信这是可能的。 It has been filed as an issue: http://code.google.com/p/dart/issues/detail?id=293&q=themes&colspec=ID%20Type%20Status%20Priority%20Area%20Owner%20Summary
它已作为问题归档: http://code.google.com/p/dart/issues/detail?id=293&q=themes&colspec=ID%20Type%20Status%20Priority%20Area%20Owner%20Summary
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.