Velocity Web Edit is a Velocity and HTML aware editor with the following features:
- Customizable Syntax Hilighting
- Content Assist
- Velocity Variables Names
- Velocity Variable Methods and Properties (using Reflection)
- Javascript Function Methods
- Velocity Macro Directives
- Style Sheet Class Names
- Velocity Outline
- HTML/XML Outline With XML Node Filtering and Intuitive Images
- Smart Indenting
- Customizable DTD for XML Content Assist
- Velocity Context Object Definitions at any Resource Level
- Open an Eclipse 3.4+ workspace (must be on a Windows OS!)
- Check out the VelocityWebEdit project from the SourceForge CVS repository:
Host: velocitywebedit.cvs.sourceforge.net
Repository Path: /cvsroot/velocitywebedit
User: anonymous
Connection type: pserver - Edit /src/com/hudson/velocityweb/dialogs/ContextValueDialog.java
- Paste in the following method:
- Find the following line of code:
and replace it with:
(Notice the new line of code doesn't reference JavaModeUtil) - Right click on the VelocityWebProgram and click on Export...
- Click on Plug-in Development and then Deployable plug-ins and fragments. Then click the Next > button.
- Insure the Directory radio button is selected and choose a destination directory for the plug-in. Then click on the Finish button.
- In Windows File Explorer, navigate to the directory specified above and then to the plugins directory.
- Copy the com.hudson.velocityweb_1.0.8.jar to your Eclipse installation's dropins directory.
- Restart Eclipse.
Note that I found this method on the www.java2s.com/OpenSource site.
No comments:
Post a Comment