Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Web Tools Guide
Previous Page Home Next Page

Snippets view

The Snippets view lets you catalog and organize reusable programming objects, such as HTML tagging, JavaScript™, and JSP code, along with files and custom JSP tags.

The Snippets view can be extended based on additional objects that you define and include. To view or collapse the objects in a specific drawer, click the drawer name.

The Snippets view has the following features:
  • Drag-and-drop to various source editing pages: You can drag items from the view into the active editor and the text will be dropped into the document at the cursor location
  • Double-click support: You can double-click on an item and have it inserted at the current cursor position in the active editor
  • User-defined drawers and items: You can define, edit, and remove items from view drawers as desired.
  • Plug-in-defined drawers and items: Plug-in developers can contribute a default list of items to their own drawers.
  • Variables in insertions: By default, items will be edited using a dialog and, when inserted, you will be prompted for values for each of the variables.
  • Customization: You can select which drawers and items are shown in the Snippets view.
  • Custom insertion: Plug-in developers can customize the behavior of items so that when they are dropped during a drag-and-drop action, both the text that is inserted and the insertion location are strictly defined.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire