生命开始情不情愿都要走完一生

2008年2月16日星期六

ECLIPSE COLLECTION

Eclipse Plugins

http://download.macromedia.com/pub/labs/jseclipse/autoinstall/
SVN Client
Maven
CheckStyle
PMD
Properties Editor
TestNG
Jetty
http://jettylauncher.sf.net/updates
FreeMarker
http://www.freemarker.org/eclipse/update
i18n
http://www.guh-software.de/eclipse/
SpringIDE
http://springide.org/updatesite/
JUnitFactory
http://www.junitfactory.com/update/
JDoc
  • For Eclipse 3.2.x: http://jdocs.com/eclipse/plugin32
  • For Eclipse 3.3: http://jdocs.com/eclipse/plugin33
Goovy
http://dist.codehaus.org/groovy/distributions/update/


JSUnit

以下两个plugin太大 可以将plugin下载下来在本地安装
eclipsexul http://sourceforge.net/projects/eclipsexul
Aptana http://www.aptana.com/studio/download


Eclispe快捷方式
  1. Ctrl + Shift + O : Organize imports
  2. Ctrl + Shift + T : Open Type
  3. Ctrl + Shift + F4 : Close all Opened Editors
  4. Ctrl + O : Open declarations
  5. Ctrl + E : Open Editor
  6. Ctrl + / : Line Comment
  7. Alt + Shift + R : Rename
  8. Alt + Shift + L : extract to Local Variable
  9. Alt + Shift + M : extract to Method
  10. Alt + Shift + V : Move
  11. F3 : Open Declaration
  12. CTRL-3: Quick Access (to basically everything; I remap this to CTRL-` because it’s eassier to type one-handed)
  13. CTRL-H: Search & Replace
  14. ALT-SHIFT-X: Run As…
    ALT-SHIFT-D: Debug As…
  15. ALT-SHIFT-Q: Open View…
  16. CTRL-TAB / SHIFT-CTRL-TAB: cycle open editors (actually, these are usually on *-F6 but I remap them)
  17. Alt + Shift + W : show the class in the package view.
  18. Alt+Left or Alt+Right for navigation
  19. Ctrl+Q for last edit
  20. Ctrl+1
  21. Ctrl+F6 — Switch between last used files
  22. Ctrl+Alt+H — Open Call Hierarchy
  23. Alt+Shift+T — Show Refactor Quick Menu



Convert an Eclipse “General” Project to a Java Project

I don’t know how many times I’ve accidentally created a General project instead of a Java project, and it always bugged me that you couldn’t convert from General to Java without starting over.

The quick and easy hack is explained well here. Open the relevant .project file and add the following (note that you don’t need the <natures> element if one is already there):
    <natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
It’s too bad you can’t “Add Java Project Nature” from within the Eclipse UI.Make sure you do this with the project closed!



没有评论: