怎么修改eclipse控制台颜色设置的背景颜色

温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
阅读(4083)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
loftPermalink:'',
id:'fks_',
blogTitle:'eclipse pydev 设置字体和背景色',
blogAbstract:'
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}1、修改背景保护色
eclipse操作界面默认颜色为白色。对于我们长期使用电脑编程的人来说,白色很刺激我们的眼睛,所以我经常会改变workspace的背景色,使眼睛舒服一些。
设置方法如下:
1、打开window-&Preference,弹出Preference面板。
2、展开General标签,选中Editors选项,展开。
3、选中&Text Editors,右边出现Text Editors面板。&&&& 面板中有这样一个选项:Appearance color options; 其中是各种板块颜色的设置,其中有一项是background color,根据自己的喜好选择颜色。
4、选中background color,勾掉System Default,点击'color',弹出颜色选择面板,选择喜好的颜色(色调改为:85 饱和度:123 亮度:205),单击确定。
5、返回Text Editors,单击Apply即可。
&& 展开Text Editors,还有其他选项,比如对错误提示的颜色样式,如果你对此感兴趣也可尝试更改一下。
2、经常地我还会设置选中背景色为红色:因为这样比较凸显
重复上面的1,2,3步。
4. 选中Selection background color, 改为红色。
5、返回Text Editors,单击Apply即可。
3、设置括号的颜色,例如Eclipse中大括号的匹配颜色
1、打开window-&Preference,弹出Preference面板。
2、选中Java标签,选中Editor。
3、在Apperance color options中选中Matching brackets highlight, 选中Color为红色。
4、返回Text Editors,单击Apply即可。
===================================================================================
当Eclipse中变量,常量,方法等元素的选中时高亮不再起作用的时候,可以这样解决:
1、打开window-&Preference,弹出Preference面板。
2、选中Java标签,选中Editor。
3、选中Mark Occurrentces.
4、然后可以选择相关的需要高亮的部分。
4、设置括号字体的大小
Xml文件字体大小的调整:& window / preferences / General / appearance / colors and fonts / Basic / &"Text font "&,然后点击Edit,可以设置字体的大小。
&5、 代码自动补全
最简单的修改方式是:Windows&&&Preferences&&&Java--&Editor--&Content Asist,在Auto activation triggers for Java后面的文本框里只有一个&.&。现在你将其改为&abcdefghijklmnopqrstuvwxyz.&即可。然后你再试试,会发现,现在的补全功能跟VS差不多了。你还可以在Advanced和Favorite里进行高级的设置。
&6、在创建新类时添加注释
windows--&preference&Java--&Code Style--&Code Templates&code--&new Java files&编辑它&${filecomment}&${package_declaration}&
/** * @author lxw * @date
${date} ${time} * @describe */
${typecomment}&${type_declaration}&
7、修改package explorer颜色
Package &explorer 颜色 :win7---个性化----窗口颜色
最终效果:
阅读(...) 评论()57549人阅读
Myeclipse(2)
豆沙绿:色调:85,饱和度:1 2 3,亮度:2 0 5&。
文档都不再是刺眼的白底黑字,而是非常柔和的豆沙绿色,这个色调是眼科专家配置的,长时间使用会很有效的缓解眼睛疲劳保护眼睛。&
在workspace的目录中,找到 .metadata/.plugins/org.eclipse.core.runtime/.settings/ 目录,然后把两个文件给替换一下就可以了。
对了,替换完之后还得手动设置一次字体。我是用Consolas 14pts的
org.eclipse.jdt.ui.prefs
#Wed Dec 23 14:31:26 CST 2009
secondaryIPColor=45,70,56
AbstractTextEditor.Color.Background=25,25,25
eclipse.preferences.version=1
spacesForTabs=true
writeOccurrenceIndicationColor=61,63,37
AbstractTextEditor.Color.Foreground.SystemDefault=false
AbstractTextEditor.Color.Foreground=128,255,0
AbstractTextEditor.Color.SelectionBackground=65,76,59
currentIPColor=45,70,56
overviewRuler_migration=migrated_3.1
lineNumberRuler=true
deletionIndicationColor=255,0,0
searchResultIndicationColor=51,51,79
currentLineColor=34,34,32
AbstractTextEditor.Color.SelectionForeground=255,255,255
printMarginColor=192,192,192
occurrenceIndicationColor=72,72,72
AbstractTextEditor.Color.SelectionBackground.SystemDefault=false
AbstractTextEditor.Color.Background.SystemDefault=false
lineNumberColor=0,128,192
AbstractTextEditor.Color.FindScope=25,25,25
AbstractTextEditor.Color.SelectionForeground.SystemDefault=false
org.eclipse.ui.editors.prefs
#Sun Mar 21 22:41:48 CST 2010
pf_coloring_argument=128,255,0
sp_cleanup.remove_private_constructors=true
semanticHighlighting.methodDeclarationName.enabled=true
sp_cleanup.sort_members_all=false
sp_cleanup.format_source_code=false
sp_cleanup.never_use_blocks=false
semanticHighlighting.enum.enabled=true
sp_cleanup.remove_unused_private_members=false
sp_cleanup.use_this_for_non_static_field_access=false
sp_cleanup.remove_unnecessary_casts=true
org.eclipse.jdt.ui.text.code_templates_migrated=true
pf_coloring_key=255,200,0
sp_cleanup.add_missing_nls_tags=false
semanticHighlighting.localVariableDeclaration.enabled=true
semanticHighlighting.interface.enabled=true
sp_cleanup.remove_trailing_whitespaces=false
content_assist_autoactivation_triggers_java=.abcdefghijklmnopqrstuvwxyz
semanticHighlighting.inheritedMethodInvocation.color=227,183,53
sp_cleanup.always_use_blocks=true
sp_cleanup.add_missing_methods=false
LexicalSortingAction.isChecked=true
semanticHighlighting.typeParameter.color=205,177,173
org.eclipse.jdt.ui.editor.tab.width=
sp_cleanup.always_use_this_for_non_static_field_access=false
sp_cleanup.never_use_parentheses_in_expressions=true
breadcrumb.org.eclipse.jdt.ui.JavaPerspective=true
sourceHoverBackgroundColor=255,255,225
java_keyword_return=236,108,30
org.eclipse.pde.ui.ExternalPluginLibrariesFilter1=true
spelling_user_dictionary_encoding=
spelling_locale_initialized=true
org.eclipse.jdt.ui.text.custom_templates=&?xml version\=&1.0& encoding\=&UTF-8& standalone\=&no&?&&templates/&
org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*=true
content_assist_proposals_background=255,255,255
semanticHighlighting.method.color=247,197,39
semanticHighlighting.interface.color=255,128,128
semanticHighlighting.method.enabled=true
sp_cleanup.make_variable_declarations_final=true
org.eclipse.jdt.ui.PackageExplorer_patternFilterId_RemoteSystemsTempFiles=true
sp_cleanup.on_save_use_additional_actions=false
sp_cleanup.remove_unnecessary_nls_tags=false
org.eclipse.jdt.ui.overrideannotation=true
org.eclipse.jdt.ui.text.templates_migrated=true
content_assist_parameters_foreground=230,230,230
spelling_ignore_non_letters=true
java_string=89,196,196
spelling_ignore_digits=true
semanticHighlighting.parameterVariable.enabled=true
org.eclipse.jdt.ui.javadoclocations.migrated=true
java_doc_tag=64,149,108
semanticHighlighting.staticMethodInvocation.color=255,255,255
org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter=true
spelling_ignore_single_letters=true
CustomFiltersActionGroup.org.eclipse.jdt.ui.PackageExplorer.TAG_DUMMY_TO_TEST_EXISTENCE=storedViewPreferences
hoverModifierMasks=org.eclipse.jdt.ui.BestMatchH0;org.eclipse.jdt.internal.debug.ui.JavaDebugH0;org.eclipse.jdt.ui.ProblemH0;org.eclipse.jdt.ui.NLSStringH327680;org.eclipse.jdt.ui.JavadocH0;org.eclipse.jdt.ui.JavaSourceH131072;org.eclipse.jdt.ui.AnnotationH0;
sp_cleanup.convert_to_enhanced_for_loop=false
sp_cleanup.always_use_parentheses_in_expressions=false
sp_cleanup.use_parentheses_in_expressions=false
pf_coloring_assignment=255,255,255
sp_cleanup.remove_unused_private_methods=true
semanticHighlighting.class.color=255,128,192
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
sp_cleanup.always_use_this_for_non_static_method_access=false
tabWidthPropagated=true
java_comment_task_tag=64,128,128
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter=true
semanticHighlighting.deprecatedMember.color=255,255,255
sp_cleanup.add_default_serial_version_id=true
org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter=true
sp_cleanup.make_private_fields_final=true
java_doc_link=0,128,255
org.eclipse.jdt.ui.PackageExplorer_patternFilterId_RemoteSystemsConnections=true
sp_cleanup.add_serial_version_id=false
sp_cleanup.add_missing_deprecated_annotations=true
spelling_ignore_urls=true
semanticHighlighting.annotation.color=192,192,192
pf_coloring_value=255,255,255
semanticHighlighting.typeArgument.enabled=true
semanticHighlighting.abstractMethodInvocation.color=241,196,54
sp_cleanup.add_missing_annotations=true
org.eclipse.jdt.ui.gettersetter.use.is=true
org.eclipse.jdt.ui.text.custom_code_templates=&?xml version\=&1.0& encoding\=&UTF-8& standalone\=&no&?&&templates/&
lastRecentlyUsedFilters=org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter,
spelling_ignore_mixed=true
semanticHighlighting.staticField.color=255,255,255
org.eclipse.jface.textfont=1|Consolas|14.25|0|WINDOWS|1|-19|0|0|0|400|0|0|0|0|3|2|1|49|C
sp_cleanup.add_missing_override_annotations=true
sp_cleanup.remove_unused_private_types=true
sp_cleanup.organize_imports=true
semanticHighlighting.typeParameter.enabled=true
sp_cleanup.remove_unused_imports=false
semanticHighlighting.staticFinalField.color=128,255,0
semanticHighlighting.abstractMethodInvocation.enabled=true
sp_cleanup.add_generated_serial_version_id=false
semanticHighlighting.localVariable.color=70,140,179
sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
sp_cleanup.use_this_for_non_static_method_access=false
content_assist_parameters_background=0,0,0
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
content_assist_disabled_computers=org.eclipse.jdt.ui.javaAllProposalCategory\u0000org.eclipse.jdt.ui.javaNoTypeProposalCategory\u0000org.eclipse.jdt.ui.textProposalCategory\u0000org.eclipse.jdt.ui.javaTypeProposalCategory\u0000
semanticHighlighting.inheritedMethodInvocation.enabled=true
sp_cleanup.make_local_variable_final=false
sp_cleanup.remove_trailing_whitespaces_all=true
java_multi_line_comment=0,128,64
semanticHighlighting.parameterVariable.color=64,128,0
sp_cleanup.format_source_code_changes_only=false
sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
org.eclipse.jdt.ui.formatterprofiles.version=11
useAnnotationsPrefPage=true
sp_cleanup.remove_unused_private_fields=true
sp_cleanup.use_blocks=false
useQuickDiffPrefPage=true
fontPropagated=true
java_keyword=236,105,30
java_single_line_comment=0,128,64
semanticHighlighting.localVariable.enabled=true
org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter=true
semanticHighlighting.enum.color=64,128,0
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
eclipse.preferences.version=1
sp_cleanup.sort_members=false
java_doc_keyword=0,128,0
semanticHighlighting.localVariableDeclaration.color=70,140,179
hoverModifiers=org.eclipse.jdt.ui.BestMatchH0;org.eclipse.jdt.internal.debug.ui.JavaDebugH\!0;org.eclipse.jdt.ui.ProblemH\!0;org.eclipse.jdt.ui.NLSStringHCtrl+Aorg.eclipse.jdt.ui.JavadocH\!0;org.eclipse.jdt.ui.JavaSourceHSorg.eclipse.jdt.ui.AnnotationH\!0;
java_bracket=255,255,255
semanticHighlighting.class.enabled=true
spelling_ignore_sentence=true
sp_cleanup.make_type_abstract_if_missing_method=false
sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
spelling_ignore_upper=true
sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
semanticHighlighting.staticFinalField.enabled=true
semanticHighlighting.methodDeclarationName.color=241,196,56
sp_cleanup.use_blocks_only_for_return_and_throw=false
java_operator=255,255,255
sp_cleanup.correct_indentation=false
java_default=255,255,255
sp_cleanup.make_parameters_final=false
content_assist_number_of_computers=18
sp_cleanup.remove_unused_local_variables=false
spelling_ignore_ampersand_in_properties=true
org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter=true
org.eclipse.jdt.ui.exception.name=e
content_assist_proposals_foreground=255,146,66
java_doc_default=64,149,108
semanticHighlighting.field.color=97,139,239
org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter=true
proposalOrderMigrated=true
semanticHighlighting.typeArgument.color=217,176,172
spelling_ignore_java_strings=true
这样不会干扰Eclipse的全局配置,比较灵活。
原文来自:雨枫技术教程网
原文网址:
改变背景颜色(黑底背景的设置)
windows-&Preferences-&General-&Editor-&Text Editors
右边选择Appearance color options&
选Background color 选择背景颜色
选Current line highlight 来改变 当前选中行 的颜色
改变字体颜色
windows-&Preferences-&Java-&Editor-&Syntax Coloring
右边选择Java 然后可以自由选择颜色了
配色方案详细following:&
Annotations(注释): 107, 147, 186&
Deprecated members(不建议使用的成员): 0, 0, 0&
Fields(字段):128,255,0 绿色
KeyWord 'return'(关键字'return'): 255, 0, 0 &红色
Keyword excluding 'return'(除了关键字以外的return): 255,80, 0 &深深橘色
Local variable declarations(局部变量声明): 70,140,179 &深蓝色
Method declarations(方法声明): 247,197,39 &淡橘色
Method(方法):&241,196,54 &深淡橘色
Operators and brackets(运算符与方括号): 255, 128, 0 & 深橘色
Others(其他): 126, 202, 0 &淡绿色
Static fields(静态字段): 128,255,0 绿色
Static Method invocations(静态方法调用): 77, 166 255 &
Strings(字符串): &89,196,196 &墨蓝色
Type variables(类型变量): 222, 0, 25 &红色
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:305880次
积分:2273
积分:2273
排名:第13043名
原创:14篇
转载:26篇
评论:38条
(2)(1)(1)(2)(2)(2)(3)(2)(3)(2)(2)(2)(2)(9)(4)(1)博客访问: 926170
博文数量: 250
博客积分: 5139
博客等级: 大校
技术积分: 2740
注册时间:
APP发帖 享双倍积分
IT168企业级官微
微信号:IT168qiye
系统架构师大会
微信号:SACC2013
分类: Java
颜色:1windows →Preferences→general→editors→text editors2在 appearance color options 里选在background color3去掉复选框的钩,设置颜色为&&& 色调84&&&&&红204饱和度91&&&& 绿232&亮度205&&&& 蓝207字体:1windows →Preferences→general→appearance→colors and fonts2basic→text font→change=============================(Window)-->(Preferences)-->java-->(Editor)-->(Syntax Coloring), 点击Restore Defaults, 接下来在同一选项的Element ---> java附件是改变后的eclipse配置文件.下载后 放到 放到workspace& - - > .metadata - - >.plugins里, 记得备份原文件.&&&& v3.2.2只需要复制&&&&&& .metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.prefs&.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.editors.prefs就可以了描述: DIY前的颜色配置.描述: aptana和myeclipse的颜色配置.描述: 码颜色不知道怎么改,目前为止还是黑色的,和背景色一样配色方案详细:&Annotations(注释): 107, 147, 186&Deprecated members(不建议使用的成员): 0, 0, 0&Fields(字段): 128, 0, 128&KeyWord 'return'(关键字'return'): 255, 0, 0&Keyword excluding 'return'(除了关键字以外的return): 255, 0, 128&Local variable declarations(局部变量声明): 128, 128, 128&Method declarations(方法声明): 255, 128, 64&Method(方法): 74, 165, 255&Operators and brackets(运算符与方括号): 255, 128, 0&Others(其他): 126, 202, 0&Static fields(静态字段): 33, 0, 189&Static Method invocations(静态方法调用): 77, 166 255&Strings(字符串): 132, 26, 238&Type variables(类型变量): 128, 0, 25本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/Frank_Wei/archive//3911594.aspx
阅读(18011) | 评论(0) | 转发(0) |
相关热门文章
给主人留下些什么吧!~~
请登录后评论。}

我要回帖

更多关于 eclipse风格设置 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信