= Eclipse = == 下載 == * http://eclipse.org/downloads/ * Eclipse Classic 3.5.2 (163 MB) == note == * import --> general --> File System --> [choose your source Directory] --> Create select folders only * if your choice "Create complete folder structure" , it will create full path of your source. * alt + enter --> Properties --> Java Compiler --> Enable projectific settings --> compiler compliance level --> 1.6 * 改變編輯區字型。 * Windows → Preference → General → Appearance → Colors and Fonts → Basic → Text Font。 * 改變關鍵字或註料的顏色 * Windows → Preference → Pydev → Editor → Appearance color options。 * 縮排。 * 將要重新縮排的區域選取後,按 tab。 * 定義自動縮排:Source → Format code * 自動縮排:Ctrl + shift + f = 設定 = * 縮排、空白 * Window->Preferences->Java->Code Style->Formatter->Edit->Indentation = "Spaces Only" * Window->Preferences->Editors->Text Editors->Insert spaces for tabs * Window->Preferences->General->Editors->Text Editors->Insert spaces for tabs * http://stackoverflow.com/questions/407929/how-do-i-change-eclipse-to-use-spaces-instead-of-tabs = 熱鍵 = * ctrl + shift + L 顯示按鍵輔助 alt + ↑ 上移 alt + ↓ 下移 -- 可以快速的移動一行或一個段落 alt + → 縮排 alt + ← 凸排 ctrl + / 單行註解 ctrl + D 單行刪除 shift + ctrl + F 文件格式化 -- 可以快速的整個文件縮排(phpEclipse) ctrl + L 移至指定行 ctrl + shift + enter 在現行上加一行 shift + enter 在現行下加一行 ctrl + shift + X 換成大寫 ctrl + shift + Y 換成小寫 ctrl + shift + S 全部儲存 ctrl + alt + ↑ 向上複製選取行 ctrl + alt + ↓ 向下複製選取行 -- 可以快速的複製一行或一個段落 alt + / 內容輔助 ctrl + alt + / 單字完成 -- 與『內容輔助』一樣是可以補齊單字的功能,不過這些單字必須是已經在文件中出現的才行 ctrl + K 快速搜尋下一個 ctrl + shift + K 快速搜尋上一個 紅色的是我覺得蠻好用的快捷鍵,其他的在喜好設定裡有更多的清單 (喜好設定 → 一般 → 按鍵) 或者是快捷鍵(ctrl + shift + L) == link == * http://www.eclipse.org/ * [http://archive.eclipse.org/eclipse/downloads/drops/L-3.2.1_Language_Packs-200609210945/index.php language package]