♣eclipse護眼顏色和關鍵字顏色設置
♣eclipse字體大小設置(包括jsp , .xml ,.java)
1.Eclipse字體大小調整:
窗口(Window)-首選項(Preferences)-> General)-> Appearence -> Colors And Fonts -> Java -> Java Editor Text Font -> Change :
2.Eclipse xml和jsp文件字體大小調整:
window -> preferences -> General -> appearance -> colors and fonts -> Basic -> Text font :
3.我把字體都設置為:
4.接下來設置護眼顏色:
window -> preferences -> General -> Editors -> Test Editors -> Background color
勾掉System Default,點擊'color',彈出顏色選擇面板,選擇喜好的顏色
背景顏色向你推薦:色調:85。飽和度:1 2 3。亮度:2 0 5
文檔都不再是刺眼的白底黑字,而是非常柔和的豆沙綠色,這個色調是眼科專家配置的,長時間使用會很有效的緩解眼睛疲勞保護眼睛。
5.最后,設置關鍵字顏色,這一步隨意要不要設置,關鍵字顏色:
windows->Preferences->Java->Editor->Syntax Coloring
設置參數:
Annotations(注釋): 107, 147, 186 淺藍色
Deprecated members(不建議使用的成員): 0, 0, 0
Fields(字段): 128, 0, 128 紫色
KeyWord 'return'(關鍵字'return'): 255, 0, 0 紅色
Keyword excluding 'return'(除了關鍵字以外的return): 255, 128 ,0 橙色
Local variable declarations(局部變量聲明): 128, 128, 128 灰色
Method declarations(方法聲明): 255, 128, 64 橙色
Method(方法): 0, 48, 96 暗淺藍色
Operators and brackets(運算符與方括號): 255, 128, 0 橙色
Others(其他): 96 153, 0 深綠色
Static fields(靜態字段): 33, 0, 189 深藍色
Static Method invocations(靜態方法調用): 77, 166 255 天藍色
Strings(字符串): 132, 26, 238 中天藍色
Type variables(類型變量): 128, 0, 25 紅羅色
最后效果: