Eclipse Preferences FAQ
因為常常會設定 Eclipse 工作區的 Preferences,尤其是在建新工作區時,想要調某些設定,卻一下子找不到在哪設,所以還是把一些常用的設定路徑放上來好了,方便查表。
雖然 Eclipse 可以匯入/匯出 Preferences,但不知為何,就是有的設定不會匯到,無力!!
- 取消 eclipse 主控台(Console) 輸出的字數限制
- [Windows]->[Preferences]->[Run/Debug]->[Console],取消選取[Limit console output]。
- 變更 Editor 編碼(encoding)
- [Windows]->[Preferences]->[General]->[Workspace],變更[Text file Encoding]為想要的 charset。
- [Windows]->[Preferences]->[Web and XML]->[CSS Files],變更[Encoding]為想要的 charset。
- [Windows]->[Preferences]->[Web and XML]->[HTML Files],變更[Encoding]為想要的 charset。
- [Windows]->[Preferences]->[Web and XML]->[JSP Files],變更[Encoding]為想要的 charset。
- [Windows]->[Preferences]->[Web and XML]->[XML Files],變更[Encoding]為想要的 charset。
- [Windows]->[Preferences]->[General]->[Content Types],這裡好像可以調全部的 charset,但我沒試過。
- Show Source of Selected Element Only
- [Windows]->[Customize Perspective]->[Commands]->[Available command groups],選取[Editor Presentation]。
- 變更 Content Assist 快速鍵為 Ctrl + L (原本為 Alt + /)
- [Windows]->[Preferences]->[General]->[Keys],選取[Content Assist]項修改(在 Editor 類別內)。
- 修改 ${user} 值
- 修改 eclipse.ini,加入 -Duser.name=my user name
- 修改操作介面語系 (Hey!Hey!避免看到有些 plugin 的 menu 有很怪的中文)
- 修改 eclipse.ini,加入 -Duser.language=en
- 自動移除編輯時,每行程式中最後面多餘的空白
- [Windows]->[Preferences]->[General]->[Editors]->[AnyEdit Tools]->[Auto - Convert] 頁籤,勾選 [Remove Trailing whitespace]。(這個要安裝 AnyEdit plugin,參考我另一篇 plugin 文章中的 JDepend plugin update site)
待續...
Posted at
2008-05-29 15:12
by Piaoyi Kao in Java |
Permalink |
mahahaha...
Posted by Eva on August 04, 2008 at 03:31 PM CST #