Eclipse的彩色世界-文本文法高亮

來源:互聯網
上載者:User

標籤:eclipse   coloring   

Eclipse原來的色彩是不是看累了..zZ,換一下色彩,提提神,不過它位置好難找...

java文法高亮位置:Preferences/Jave/Editor/Syntax Coloring  


xml文法高亮:Preferences/XML/XML Files/Editor/Syntax Coloring  


字型大小設定:Preferences/General/Apperance/Color and Fonts(Basic 最後兩項)



設定好了,想把它備份起來,但是它最終儲存在哪了呢?在哪了,在哪了,在哪了...

Process Monitor抓取起啟動各停止的Eclipse的檔案讀寫記錄

初步確定顏色資訊儲存在workspace中

然後,縮小範圍
用Search and Replace尋找workspace檔案下的關鍵字color
通過反覆改寫實驗,終於找到了,

真相只有一個

java文本顏色就是在這裡:
...\android_workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.jdt.ui.prefs

java_comment_task_tag=36,168,112java_doc_link_bold=truejava_doc_tag_bold=truejava_keyword=135,123,16java_keyword_return=135,123,16java_multi_line_comment=36,168,112java_multi_line_comment_bold=truejava_single_line_comment=36,168,112java_single_line_comment_bold=truejava_string=255,0,255
色彩以R,G,B形式表示
c++文本顏色就是在這裡:

...\android_workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.cdt.ui.prefs

XML的在這裡:

..\android_workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.wst.xml.ui.prefs

commentText=\#008000 | null | false | false | false | falseeclipse.preferences.version=1org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart.lastActivePage=1tagAttributeName=\#000000 | null | true | false | false | falsetagAttributeValue=\#ff00ff | null | false | false | false | falsetagName=\#ff0000 | null | false | false | false | falsexmlContent=\#0000ff | \#ffffff | false | false | false | false

(下面是設定XML文法高亮,儲存時Process Monitor抓到的)

字型大小在這裡:

..\android_workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.workbench.prefs

其它的設定均在各種*.prefs檔案中


文章來自:http://blog.csdn.net/wisepragma/article/details/39801775

轉載請註明出處

Eclipse的彩色世界-文本文法高亮

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.