The problem: You want/need to add/use the same code pieces again and again
You could just copy and paste, which becomes tedious when you have different pieces ...
... or you could yous the snippets plugin which you can access via
-> Window -> Show View -> Other ... -> General -> Snippets... if it is not already there, install it. Go to
-> Help -> Install New Software ...choose the site of your current eclipse version and select inside
Web, XML, Java EE and OSGi Enterprise Developmentthe plugin
Eclipse Web Developer ToolsClick all the necessary "next", "I agree", and "finish" buttons ... finally restart eclipse ...
Add new snippets using the right mouse button and selecting "cusotmize".
No comments:
Post a Comment