Eclipse using tricks

736 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
736
On SlideShare
0
From Embeds
0
Number of Embeds
13
Actions
Shares
0
Downloads
23
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Eclipse using tricks

    1. 1. Eclipse Using Tips... and tricks Jay Xu
    2. 2. Agenda I Eclipse Project Settings Create Global ~ Import / Checkout JDK / Web Container~ Run / Debug Editor ~ SVN Complier ~ Export / Import ~
    3. 3. Agenda II Code Assistance Magic Ctrl+1 Refactoring Refactoring in Eclipse Plugins Install Update
    4. 4. Eclipse A “Platform” Based on SWT Bunch of Plugins OSGi / Equinox “Perspective”
    5. 5. Global Settings Always run in background Show heap status Show traditional style tabs
    6. 6. JDK / Web ContainerSettings JDK Web Container
    7. 7. Editor Settings (Java) Font Default Text Encoding Syntax Coloring Code Templates Formatter Save Actions
    8. 8. Compiler Settings Compiler Compliance Class File Generation Errors / Warnings
    9. 9. Export / Import Settings Export / Import Global Settings Export / Import Formatter Export / Import Code Template
    10. 10. Project Create a ... Java Project Dynamic Web Project Import a Project Run a Project ... as an Application JUnit
    11. 11. Debug a Project Breakpoint Watch a Variable Step into / over / return Remote Debugging Thread Debugging
    12. 12. SVNCheckout a Project from SVNCommit / Update / RevertConflict! (diff)AnnotationSync with Repository*
    13. 13. Tea Break
    14. 14. Code Assistance Override / Implement Methods Generate Getters and Setters Generate hashCode() and equals() Generate toString() Generate Constructor Using Fields
    15. 15. Magic Ctrl+1 Create field Add unimplemented methods Generate SID Quick rename Surround with try / catch Convert local variable to field Generate getter and setter ...
    16. 16. Refactoring What is Refactoring? Improving the Design of Existing Code
    17. 17. Refactoring in Eclipse Rename (Package / Class / Method / Variable) Move (Class / Method) Extract (Class / Method / Local Variable / Constant) Extract Interface Inline
    18. 18. Plugins What are Plugins? How to Install How to Update Some Useful Plugins Subclipse TPTP FindBugs
    19. 19. Q A

    ×