Eclipse
Last edited September 27, 2009
More by Reder »
一些關於 Eclipse 這個開放工具的資料。還在持續更新中。
Useful tips

我個人目前常用的快速鍵:
(注意,英文字母有大小寫之分。也就是,O 表示 shift + o )

  • Alt + / :出現提示。
  • Ctrl + shift + / :會將標示的部份用 /* */ 包住。
  • Ctrl + shift + \ :解除包住。
  • Ctrl + O:optimize,會自動 import 所有必須的 class 並排列。
  • Ctrl + M:會匯入游標所在的 class 。
  • Ctrl + R:open resources,打開所輸入檔名的檔案。
  • Ctrl + F:整理程式碼
  • Ctrl + 1:Quick fix 。再按 Ctrl + Enter 一次 fix 。
  • Ctrl + / :將選取範圍變成註解。

JavaWorld@TW - Eclipse使用技巧分享區:熱鍵、外掛、相關技巧...
www.javaworld.com.tw/jute/post/view?bid=10&id=4062...
JavaWorld@TW - Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default)
www.javaworld.com.tw/jute/post/view?bid=10&id=5390...
piaoyi's blog - Are you Javanese? : weblog
www.javaworld.com.tw/roller/piaoyi/entry/eclipsese...
  • 取消 eclipse 主控台(Console) 輸出的字數限制
    1. [Windows]->[Preferences]->[Run/Debug]->[Console],取消選取[Limit console output]。
  • 變更 Editor 編碼(encoding)
    1. [Windows]->[Preferences]->[General]->[Workspace],變更[Text file Encoding]為想要的 charset。
    2. [Windows]->[Preferences]->[Web and XML]->[CSS Files],變更[Encoding]為想要的 charset。
    3. [Windows]->[Preferences]->[Web and XML]->[HTML Files],變更[Encoding]為想要的 charset。
    4. [Windows]->[Preferences]->[Web and XML]->[JSP Files],變更[Encoding]為想要的 charset。
    5. [Windows]->[Preferences]->[Web and XML]->[XML Files],變更[Encoding]為想要的 charset。
    6. [Windows]->[Preferences]->[General]->[Content Types],這裡好像可以調全部的 charset,但我沒試過。
  • Show Source of Selected Element Only
    1. [Windows]->[Customize Perspective]->[Commands]->[Available command groups],選取[Editor Presentation]。
  • 修改 ${user} 值
    1. 修改 eclipse.ini,加入 -Duser.name=my user name
  • 修改操作介面語系 (Hey!Hey!避免看到有些 plugin 的 menu 有很怪的中文)
    1. 修改 eclipse.ini,加入 -Duser.language=en
  • plugins

    EclipsePlugins : hi! Find your plugin for Eclipse here.
    www.eclipse-plugins.info/eclipse/index.jsp
    Spring IDE 2.0 is Final | Springframework.org
    www.springframework.org/springide/release-20
    org.jiayun.commons4e-site
    www.jiayun.org/commons4e/updatesite/
     快速 gen 出:
    • toString()
    • Equals() / HashCode()
    • CompareTo()
    hibernate.org - Hibernate Tools for Eclipse and Ant
    www.hibernate.org/255.html
    Labels: Hibernate
    Plugging Aptana into an existing Eclipse configuration - Aptana
    www.aptana.com/docs/index.php/Plugging_Aptana_into...
     update site: http://pydev.org/updates
    FindBugs™ - Find Bugs in Java Programs
    findbugs.sourceforge.net/
    Eclipse Builder Pattern Plugin - Overview
    boss.bekk.no/bpep/
    testing plugins

    Fat Jar Eclipse Plug-In
    fjep.sourceforge.net/
    jQueryWTP eclipse wtp plugin
    www.langtags.com/jquerywtp/index.html
    step1:download jqueryWTP_version.jar
    step2:find you Eclipse Plugin org.eclipse.wst.javascript.ui_xxxxxxx.jar,backup the plugin.
    step3:double click the jar file or run with command java -jar jqueryWTP.version.jar
    step4:on the opened swing UI,choose org.eclipse.wst.javascript.ui_xxxxxxx.jar,and output dir.
    step5:click generate button.
    step6:replace old org.eclipse.wst.javascript.ui_xxxxxxx.jar file with the generated file.
    step7:restart eclipse.
    step8:open a html file,edit js content.
    OW2 Lomboz by eteration
    lomboz.objectweb.org/
    The content on this page is provided by a Google Notebook user, and Google assumes no responsibility for this content.