org.eclipse.wst.common.snippets
Version 1.0.0
Snippets
- org.eclipse.wst.common.snippets
- Adds notion of a template ?toolbox? to Eclipse
- User can define and manage reusable pieces of source code
- Source code snippets can have sections defined as variable using
place holding markers
- Framework for contributing new snippets with custom drag and
drop and double-click insertion behavior
- Depends on Eclipse & GEF (& SSE currently)
- API status : provisional
- Reasonably well documented, but subject to change before M5
given existing feedback and stated milestone goal
- Current Work Items
- Reworking of drag and drop
- No longer rely on SSE drop action framework
- Possibly support non-text editor scenarios
- Separate into Core and UI plug-ins
- Should allow for non-GEF UI (but not to be implemented)
- Investigate adopting Eclipse Templates as underlying model
- Investigate adopting Template insertion behavior as our own on
double-click
- Want more info?
Extension Points
Contributions to be shown in the Snippets view. Plugins may
contribute new categories and items into those categories that have
custom behavior when dropped onto an editor or certain views.
Used Extensions
|
org.eclipse.ui.views
org.eclipse.wst.sse.ui.dropTargetTransfers
org.eclipse.ui.popupMenus |
Dependencies (Required Plugins)
|
org.eclipse.gef
org.eclipse.wst.sse.ui
org.eclipse.ui.ide
org.eclipse.ui.workbench.texteditor
org.eclipse.wst.sse.core
org.eclipse.ui
org.eclipse.jface.text
org.eclipse.core.resources
org.eclipse.core.runtime |