myeclipse設置背景色


編輯窗口右鍵單擊——》Preferences——》General加號——》Editors加號——》點Text Editors字樣——》右下窗口選Backgroud color,右邊點掉System Default按鈕,點Color右邊的顏色框,選擇顏色OKwindows

背景顏色向你推薦:RGB 199 237 204
app

文檔都再也不是刺眼的白底黑字,而是很是柔和的豆沙綠色,這個色調是眼科專家配置的,長時間使用會頗有效的緩解眼睛疲勞保護眼睛。 eclipse

改變背景顏色
windows->Preferences->General->Editor->Text Editors
右邊選擇Appearance color options 
選Background color 選擇背景顏色
選Current line highlight 來改變 當前選中行 的顏色
post

配色方案詳細following: 學習



Eclipse字體大小調整: 
窗口(Window)-首選項(Preferences)-常規(General)-外觀(Appearence)-顏色與字體(Colors And Fonts),在右邊的對話框裏選擇Java - Java Editor Text Font,點擊出現的修改(Change)按鈕,能夠設置顯示在在主窗體中程序的字體大小,設置完以後點擊右下角的應用(Apply),最後點擊肯定(OK)便可。 

xml的字體大小調整: 
window--preferences--General--appearance--colors and fonts--Basic-- "Text font "  

而後點change,能夠設置字體的大小字體



eclipse 改變顏色,背景

一款看上去十分舒服的代碼配色,會讓Coding過程變得愜意,讓編寫效率提高很多。而Eclipse默認的代碼配色實在醜陋,除了關鍵字爲褐色加粗、字符串爲藍色外,其他顏色均爲黑色。在這樣的配色中,最難分辨的就是局部變量和類型的私有字段(其餘好歹能夠經過大小寫規則來判斷,若是代碼編寫夠規範的話)。並且過於單調的顏色,不容易刺激視覺神經乃至中樞神經,會增長疲勞感,帶來睏意。spa

爲了改變這一現狀,咱們必須對Eclipse的代碼配色進行更改。orm


個人代碼顏色xml



改變字體顏色
windows->Preferences->Java->Editor->Syntax Coloring
右邊選擇Java 而後能夠自由選擇顏色了

blog

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   紅羅色

學習從如今開始


第二方案

改變背景顏色(黑底背景的設置)
windows->Preferences->General->Editor->Text Editors
右邊選擇Appearance color options 
選Background color 選擇背景顏色 背景配色:160,0,59
選Current line highlight 來改變 當前選中行 的顏色

配色方案詳細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  紅色