【Eclipse】 Eclipse使用記錄

image.png

Eclipse基礎(chǔ)配置:各種原因重新安裝Eclipse得重新配置自己熟悉的Eclipse開發(fā)界面,故將自己熟悉的配置在博客中記錄下來:

1. 設(shè)置主題與字體

Eclipse主題設(shè)置

Favorite Eclipse Color Theme:Oblivion
If you are on Eclipse 3.6 (Helios), the easiest way to install the plugin is from the Eclipse Marketplace. Go to Help→Eclipse Marketplace..., then search for Eclipse Color Theme and install it.
If you are on Eclipse 3.5 (Galileo), go to Help→Install New Software..., press Add Site and enterEclipse Color Theme as the name and http://eclipse-color-theme.github.com/update as the URL. Then select the new entry from the select box labeled Work with, mark Eclipse Color Theme for installation and proceed.
Please note: If you are using a version of the plugin lower than 0.6, please uninstall and reinstall it following the instructions above. Update site and plugin ID have changed.
After the installation, go to Window→Preferences→General→Appereance→Color Theme to change the color theme.

Eclipse字體設(shè)置

Java編輯區(qū)字體設(shè)置

推薦字體:Consoles、Courier New

windows->Preference->General->Appearence->Colors And Fonts
->Java->Java Editor Text Font->Edit->Apply->OK

XML編輯區(qū)字體設(shè)置

window--preferences--General--appearance--colors and fonts--Basic-- "Text font "

2. 代碼自動(dòng)補(bǔ)全

Eclipse java代碼自動(dòng)補(bǔ)全

Window->preferences->Java->Editor->Content Assist 再右下角Auto activation triggers for Java里面改為

abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789

Eclipse xml文件自動(dòng)補(bǔ)全

Windows->preferance->XML->XML Files->Editor->Content Assist
面板最上端 Auto Activation 將Prompt when these characters are inserted后面的文本框中的“<=:”替換成

“<=:abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ”

3. 添加行號(hào)

添加行號(hào):

windows-->Preferences-->General-->Editors-->TextEditors
勾選“show line numbers

4. 編碼格式

推薦使用UTF-8

Windows-->Preferences->General->Appearances->Workspace->Text fike encoding->Other(UTF-8/GBK)

5. 取消改動(dòng)Auto BuildingWorkspace

具體操作: Project -> Build Automatically
效果: 在代碼修改保存后,不會(huì)啟動(dòng)自動(dòng)編譯

6. Eclipse 快速導(dǎo)航欄取消與打開

這里寫圖片描述

7. Eclipse 編輯區(qū)文件快速定位到左邊資源文件

這里寫圖片描述
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

推薦閱讀更多精彩內(nèi)容