♣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 紅羅色
最後效果:
right|
alston&思維焦點,原創不易,請尊重原創。
釋出者:全棧程式員棧長,轉載請注明出處:https://javaforall.cn/166744.html原文連結:https://javaforall.cn