Loading sub-menu...

Snippets for Eclipse

Attached to this page are useful Snippets for Eclipse IDE's that implement the Snippets view. Snippets are like macros which, when clicked, automatically generate code. These snippets can help speed up your development time. These snippets are known to be compatible with several Eclipse-based IDEs and any Eclipse version that includes WST.

Installation

  • Download the Snippets xml files attached to this page (right-click, Save Link As...):
  • If Rational, select Window -> Show View -> Other -> General -> Snippets or
  • If MyEclipse, select Window -> Show View -> Other -> MyEclipse Common -> Snippets
  • If Eclipse Ganymede, select Window -> Show View -> General -> Snippets
  • Right-click anywhere in the snippets view and select Customize...
  • In the Customize Palette, click Import and select the Snippets xml file to import.

Usage

  • Place your cursor in a WYSIWYG design view or anywhere in source code.
  • Double click the snippet you wish to insert.
  • The snippet will be inserted into your code. Some snippets use variables which can be changed before the code is inserted. If this is the case, a dialog will pop up before the code is inserted. You can change variable values or ignore the dialog and just click Insert.

Feel free to share your own useful Snippets here too!

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Aug 11, 2009

    Anonymous says:

    Really Kool!!! Thanks for sharing!

    Really Kool!!!

    Thanks for sharing!

  2. Jan 18

    Anonymous says:

    Thanks! It was useful

    Thanks! It was useful

Add Comment