修改Eclipse neon的project explorer 下的項目名稱字體設置

eclipse中project explorer中的字體太小,長時間盯着看着實有點累,怎麼辦了,得想辦法把字體設置的大一點。

之前使用luna版本的eclipse時,只要找到eclipse下的org.eclipse.ui.themes目錄就可以了,但是新版本下的eclipse的plugins目錄居然是空的,這是由於neon版本使用了installer。

後來查到eclipse.ini文件中有這樣的配置:

--launcher.library
~/.p2/pool/plugins/

這下就明白了,現在的eclipse將plugin安裝到了此目錄下。先進入

~/.p2/pool/plugins/org.eclipse.ui.themes_1.1.100.v20160411-1921/css,在e4_default_mac.css的結尾添加

#org-eclipse-jdt-ui-PackageExplorer Tree,
#org-eclipse-ui-navigator-ProjectExplorer Tree,
#org-eclipse-ui-views-ContentOutline Tree,
#PerspectiveSwitcher ToolBar {
  font-size: 17px;
}

然後保存文件,重啓eclipse,萬事大吉了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章