Whats required for IDEA to recognize Velocity/Freemarker?

I've some Liferay templates (*.vm files) which are not being recognized as Velocity.

3 comments
Comment actions Permalink

OK, I have a partial answer. Basically I have to register the *.vm file extension as Velocity. Problem is that when I do this, I am prompted for a "template data language". I'm new (very new) to Velocity and don't know what this refers to. Any ideas?

0
Comment actions Permalink

I assume HTML.

What kind of content are your templates producing?

-tt

0
Comment actions Permalink

I didn't realize that a template data language was not necesary. Looking at the other file extensions in use for Velocity, I notice that none of them had anything selected.
When would one use something like that? One would almost think that Velocity *IS* a template data language.

0

Please sign in to leave a comment.