1. 程式人生 > >保護眼睛-eclipse黑色背景設定

保護眼睛-eclipse黑色背景設定

eclipse中java編輯器顏色修改,適合程式猿人群: 長時間編碼,眼睛是有很大負擔的,特別是使用eclipse,它自帶的java編輯器背景色是刺眼的白色,程式碼顏色基本是黑色,這樣一個編輯器裡白色佔了大多數面積,對視覺的刺激可想而知。我上網查了一個配色方案,調整eclipse編輯器的顏色為最適合的顏色,步驟如下: 1.首先修改編輯器背景顏色:window->preferences->editors->text editors,修改background color為淺黑色:39,40,34 2.修改選中行顏色:current line highlight為純黑:0,0,0 3.修改配色詳情:windows->Preferences->Java->Editor->Syntax Coloring 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  紅色 修改後的截圖: