Eclipse User Guide 1 Revision History
Version |
Change Time |
Author |
Description |
Effort Hours |
0.1 |
2006-4-21 |
Levinsoft |
Basic framework |
0.5 |
2006-4-22 |
Levinsoft |
Added CVS usage, FAQs |
0.5 |
0.2 |
2006-5-8 |
Levinsoft |
Increased use of CVS skills |
0.1 |
1.0 |
2007-1-10 |
Levinsoft |
ADD Code Template |
0.3 |
1.1 |
2007-8-16 |
Levinsoft |
Eclipse ant time-out workaround |
0.1 |
2 IntroductionThe main content of this article includes: Eclipse usage experience, shortcut key usage and usage suggestion, code template configuration, related plugin address.
3 Usage Experience1. Keep improving with eclipse. Each time you upgrade eclipse, you can see what's new in the help? You can get the latest and useful features, some of which you may use plug-ins to get functionality that can be resolved with the new Eclipse version. 2. When you communicate your code with coworkers, watch your colleagues ' keyboard operations more. It may be possible to gain the relevant development skills virtually.
4 Basic Use
4.1 Common shortcut keysIt can greatly enhance your development efficiency, you want to become a master of one of the necessary skills. For a player who knows only a few shortcuts, don't be in a hurry to master all the operations in a day. You can focus on a few days a day, and for a Java programmer, you can master it in a few weeks. 1. can be used
ctrl+shift+lCan be consulted, it can increase the huge efficiency. 2. Ctr+h: Find the specific Class 3. F3: Equivalent to a word 4 that is selected by ctr+. ctrl+/: You can add comments directly after selecting a certain area. Ctrl + Shift +/can comment blocks. 5. Tab+shift: button to jump tab distance. 6. Select all +tab: The distance you can jump forward tab. 7. F5 and F6: are common debug buttons. It's very useful. 8. F4: You can view the integrated structure of the class diagram in the selected class. 9. shift+ right mouse button, you can choose a row, more than the direct right-click. 10. Ctr + Shift + o organize import is very useful. 11. Ctr + O quick outline 12. Ctr + Shift + e in a separate window. List all current files, 13. CTR + T Query calls the function parent function. Better than F4. 14. Alt + SHIFT + R renames the selected function rename 15. Ctr + F3 can view class 16. CTR + Q can return to the last edited place. Save a lot of time. 17. ATL + SHIFT + C to refactor the selected function change method Signature 18. Ctr+m maxisize the active view and Editor 19. ALT + SHIFT + c to modify function names, parameters, and so on. 20. Ctr + shift + c add comments to a row of data Easy to use 21. ATL + SHIFT + t pop-up refactoring tip 22. Alt + SHIFT + V move 23. CTR + t View integration relationships, which can be conveniently positioned by locating interfaces or implementing classes.
4.2 Code TemplatesYou can import or export files in XML format.
4.2.1 Files/** * FileName: ${file_name} */
4.2.2 Types/** * * Copyright:copyright (C) ${date} * Company: *
@author<a href= "thunder4393@gmail.com"/> Zhang Le *
@date${date} ${time} */
4.2.3 Methods/** * * ${tags} *
@authorZhanglelei *
@date${date} ${time} */
4.2.4 Override Methods/** * * ${tags} *
@authorZhanglelei *
@date${date} ${time} */
5 Ant time-out workaround in EclipseNow when you run the Ant build project, be careful to first modify the parameters of the JVM. Otherwise, ant will not succeed. Shows a situation where there is not enough memory. 1. Ant time-out workaround > When performing ant tasks sometimes, sometimes because of a time-out error, please configure it as follows to change the memory overflow problem. > > 2) Right click the Build.xml file in your project and choose Run > Ant Build ... > 3) Go to the JRE tab on The Ant Build Property window. > 4) Add your memory options to the VM Arugmentscode: >-xmx512m > 5) hit Run NOTE: It must be to set the parameters of the VM, not the other part.
6 Plugin AddressEclipse Download
Emf,gef-graphical Editor Framework,uml2,ve-visual Editor is here to download
http://www.eclipse.org/downloads/index.php 2 lomboz Java EE plugin, development jsp,ejb
Http://forge.objectweb.org/projects/lomboz 3 myeclipse Java EE Development plugin, support servlet/jsp/ejb/database manipulation, etc.
Http://www.myeclipseide.com 4 Properties Editor Edit Java Property file, and can automatically save to Unicode format
Http://propedit.sourceforge.jp/index_en.html 5 Colorer take for hundreds of types of files by syntax coloring
HTTP://COLORER.SOURCEFORGE.NET/6 xmlbuddy Editing an XML file
Http://www.xmlbuddy.com 7 Code Folding add a variety of codes folding features (more than eclipse comes with)
Http://www.coffee-bytes.com/servlet/PlatformSupport 8 Easy Explorer access the folder where the selected files and directories are located from eclipse
HTTP://EASYSTRUTS.SOURCEFORGE.NET/9 Fat Jar Packaging plug-in, you can easily complete a variety of packaging tasks, can include external packages, etc.
HTTP://FJEP.SOURCEFORGE.NET/10 Regex test Regular expression
http://brosinski.com/stephan/archives/000028.php One-jasperassistant report plugin (for money Oh ~)
GUI Editor plugin for HTTP://WWW.JASPERASSISTANT.COM/12 Jigloo GUI Builder java
HTTP://CLOUDGARDEN.COM/JIGLOO/13 Profiler performance tracking, measurement tools, can track, Measure b/S program
HTTP://SOURCEFORGE.NET/PROJECTS/ECLIPSECOLORER/14 Advanqas provides prompt and quick help for conditional statements such as if/else (automatic change of structure, etc.)
http://eclipsecolorer.sourceforge.net/advanqas/index.html log4e log4j plugin that provides various and log4j related tasks, such as adding a logger for methods, classes, etc.
Http://log4e.jayefem.de/index.php/Main_Page Vssplugin VSS Plugin
Http://sourceforge.net/projects/vssplugin Implementors provides the ability to jump to a method's implementation class, rather than the functionality of the interface (practical!)
HTTP://ECLIPSE-TOOLS.SOURCEFORGE.NET/IMPLEMENTORS/18 Call Hierarchy shows the calling hierarchy of a method (which methods are tuned and which methods are tuned)
http://eclipse-tools.sourceforge.net/call-hierarchy/index.html eclipsetidy checking and formatting html/xml files
HTTP://ECLIPSETIDY.SOURCEFORGE.NET/20 checkclipse Check the style and wording of the code to conform to the specification
http://www.mvmsoft.de/content/plugins/checkclipse/checkclipse.htm Hibernate synchronizer Hibernate plugin, auto map, etc.
HTTP://WWW.BINAMICS.COM/HIBERNATESYNC/22 veloeclipse Velocity Plug-in
http://propsorter.sourceforge.net/easy to list all open editor
Monitoring of http://editorlist.sourceforge.net/memory usage
GUI plugin for http://cloudgarden.com/memorymanager/
http://www.swt-designer.com/support for Tomcat plugins
http://www.sysdeo.com/eclipse/tomcatPlugin.html Database Plugin
http://quantum.sourceforge.net/Database Plugin
Http://sourceforge.net/projects/dbedit Visualization of database plugins
http://www.azzurri.jp/en/software/index.jsp Plug-in
Http://hiberclipse.sourceforge.net Plug-in
http://www.jamesholmes.com/struts/console/Plug-in
Http://easystruts.sourceforge.net Plug-in
http://veloedit.sourceforge.net/Code Grooming Plugin
Analysis of http://jalopy.sourceforge.net/package relationship
Http://andrei.gmxhome.de/jdepend4eclipse/links.html Plug-in
http://springide-eclip.sourceforge.net/updatesite/can generate code hints for Xdoclet
http://beust.com/doclipse/
Doclipse
Notoginseng Spring IDE Spring
Approx. JDepend
Jalopy
Veloedit Velocity
Easystruts Struts
Http://www.binamics.com/hibernatesync
Struts-console Struts
Http://www.azzurri.jp/eclipse/plugins
Hiberclipse Hibernate
Clay.core
Dbedit
XML Viewer
Http://tabaquismo.freehosting.net/ignacio/eclipse/xmlview/index.html
Quantum
Tomcatplugin
Swt-designer Java
Memorymanager
Editorlist Sqlexplorer, connecting various databases in Eclipse for operational use