Velocity editor plugin for Eclipse?

27,518

Solution 1

Here's an update: I've been using Veloeclipse and it works well, not sure what led to my original comment about not working with Eclipse 3.4 but I am definitely using it with 3.4 now. Veloeclipse works better than Veloedit and Velocity Web Editor, in my opinion.

Solution 2

I have installed Veloeclipse since Veloedit raised exceptions when opening the editor and it works fine with eclipse 3.5.2.

In order to install it, I had to deselect "Group items by category" in the "Install new software..." dialog.

Solution 3

just try

Velocity Web Edit

http://velocitywebedit.sourceforge.net/

Solution 4

you can download Veloeclipse for Velocity Template from http://code.google.com/p/veloeclipse/

Share:
27,518
matt b
Author by

matt b

Hello, world!

Updated on August 22, 2020

Comments

  • matt b
    matt b almost 4 years

    I've seen Veloedit, which seems to have good syntax highlighting but doesn't allow tab characters in the file being edited (wtf?) and also has no understanding of HTML.

    With a little bit of googling I've found Veloecipse, which claims to build upon Veloedit and also add HTML support - but doesn't seem to be compatible with Eclipse 3.4.

    Are there any other Velocity template editor plugins for Eclipse that anyone is using?

    The ideal solution would have the following features:

    • Syntax hightlighting of VTL
    • HTML syntax highlighting as well
    • Auto-complete of VTL syntax
    • Allows tabs!

    Update: see my answer below

  • matt b
    matt b over 15 years
    I've been using Veloeclipse and it works well
  • Patrick Cornelissen
    Patrick Cornelissen over 15 years
    Hmm, I tried it yesterday and I got all sorts of weird exceptions when I tried to use the editor on my eclipse 3.4 But I am having some other problems too, so this may be related to this system/eclipse installation. I will give it another try.
  • whiskeysierra
    whiskeysierra over 13 years
    Thanks for the Group items by category hint. +1
  • David García González
    David García González over 13 years
    The correct url for the project is: code.google.com/p/veloeclipse
  • CatsAndCode
    CatsAndCode over 12 years
    I just installed Veloeclipse on Indigo Service Release 1 and all is well so far.Just wanted to add that to assuage the fears of those that are balking at the "Tested on Eclipse 3.3 and 3.4" comment on the project webpage.
  • depsypher
    depsypher about 12 years
    I've tried all the velocity plugins at this point and I can't get any of them to work correctly with custom directives.The codebase I'm working on uses directives from org.apache.struts2.views.velocity.components extensively and every usage in the template is marked as an error. Is there a way to get this to work without getting so many false-positive errors in eclipse?
  • depsypher
    depsypher about 12 years
    Nevermind, VeloEdit handles it... Prefs > Velocity UI > List of User Directives > New