idea中字体颜色设置成类似eclipse的方案

由于本人一开始使用的是eclipse,转为idea后为了习惯这个新的编辑器,所以将其字体颜色设置的与eclipse类似,以便感觉是在使用eclipse,后来就习惯这个风格了,现在做一下笔记,顺便分享给有需要的人:

设置idea中文件状态颜色路径是: Preferences -> Editor -> Color & Fonts -> File Status
idea编辑器中颜色配置,效果类似eclipse,设置路径是: file -> settings ->  editor -> java :

annotaion:

annotation attribute name:  0, 0, 255, 0000FF 

annotation name:   0,0,0,000000

-----------------------------------------------------------------
braces and operators:

braces:  foreground bold , 0, 0, 255, 0000FF 

brackets:foreground bold , 0, 0, 255, 0000FF 

comma:foreground bold , 0, 0, 255, 0000FF 

dot:foreground bold , 0, 0, 255, 0000FF 

operator sign:foreground bold , 0, 0, 255, 0000FF 

parentheses:foreground bold , 0, 0, 255, 0000FF 

semicolon: foreground bold , 0, 0, 255, 0000FF 

-----------------------------------------------------------------

class fields:
Constant(static final field): foreground bold italic , 102,14,122, 660E7A

instance field:  foreground 0 0 255 0000FF

static field: foreground  italic 0 0 192 0000C0

-----------------------------------------------------------------
classes and interfaces:

abstract class:  foreground    0 0 0 000000

anonymous: class foreground    0 0 0 000000

class: foreground    0 0 0 000000

enum: foreground     128 0 64 800040

interface: foreground    0 0 0 000000


-----------------------------------------------------------------
comments:

block comment: foreground italic      30  30  30 1E1E1E

line comment: foreground  bold italic     0  100  0  006400

-----------------------------------------------------------------

keyword:  foreground  bold  127   0   85  7F0055

-----------------------------------------------------------------

methods:

abstract method: foreground    0 0 0 000000

constructor call: foreground    0 0 0 000000

constructor declaration: foreground    0 0 0 000000

inherited method: foreground    0 0 0 000000

method call:  foreground    0 0 0 000000

method declaration: foreground    0 0 0 000000

static method:  foreground   italic  0  0 255  0000FF


-----------------------------------------------------------------

number: foreground    bold  0   0  255  0000FF

-----------------------------------------------------------------
parameters:

implicit anonymous class parameter:  foreground bold    128   64   0 804000

parameter:   foreground 128   64   0 804000

reassigned parameter: foreground 128   64   0 804000

type parameter:  foreground bold    0  0  0   000000


-----------------------------------------------------------------
string:

escape sequence invalid: foreground bold italic  0   0   160  0000A0


escape sequence valid:   foreground bold italic  0   0    160    0000A0


string text:  foreground  0   0   255   0000FF



-----------------------------------------------------------------

variables:

local variable:  foreground bold  106   62    62  6A3E3E


reassigned local variable:     foreground bold  106   62    62  6A3E3E

-----------------------------------------------------------------

     Eclipse的编辑器中默认的字体颜色:

          关键字 RGB:       127   0    85     或者更深  138 32 130  #8A2082
          局部变量RGB:     106   62  62  或者 154  117  115  -> #9B7C7C
          行注释RGB:      63    127     95
          字段:   0   0   192
          局部变量    106   62  62
          静态字段:   0   0  192
          字符串:   0   0   192
          深绿色: #006400 或者  0 100 0





评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值