This project is a simple XML grammar code completion Netbeans module which gives the user access to basic maven/jelly-taglib elements and attributes. It currently works with Netbeans 3.6 and 4.0. (If anyone wants a release for 3.5, send me an email)
Currently the 0.2 version is available for download which works with Netbeans 3.6.
The same (or later) version is bundled with the project support module for 4.0.
The module provides code completion in various places of the edited file. The default keyboard shortcut to
invoke the code completion is
Ctrl-Space. Then you can navigate in the provided list or
type more characters which results in updated, narrowed completion offering.
Firstly you can get a list of available namespaces. They are sorted alphabetically and include default jelly taglibraries, maven specific jelly taglibraries and also dynamic taglibraries originating from the maven plugins.
Later when writing the content, you will be offered standard tags, such as
pregoal , but also tags from the included
taglibraries. These are sorted in the following manner. Namespaces only first, standard tags, and then tags from included taglibraries sorted by taglib name and tag name.
After choosing a tag, you can easily get a list of available, known attributes defined for this element. These are sorted alphabetically. Again only those that match the already typed characters are displayed.
In attributes values, you can get various completions.
After typing "maven." in any attribute value, you get a list of plugins' property keys that modify the plugins' behaviour.
For goal related attributes, you get a list of applicable goals.