Friday, June 8, 2012

Associate new file type with Netbeans velocity editor plugin

I just installed Netbeans Velocity Editor plugin, by default it only supports *.vm and *.vsl file types. But we use *.vtl as velocity template in our projects.

To enable the velocity support for *.vtl file type, go to "Tools" -> "Options" -> "Miscellaneous" -> "Files", click "New ..." to add a new file extension, then select "text/x-velocity" for "Associated File Type (MIME)", click "Ok".

No comments:

Post a Comment