Tag Archives: Velocity

Enabling Implicit Context Variables Resolution in Template Files

Because almost any template file has external references to context variables (and we’ll eventually find their declarations in code rendering that file), we need to introduce declarations for such implicit variables. IntelliJ IDEA helps us to do this in familiar … Continue reading

Posted in New Features | Tagged , , | 4 Comments

Enabling Template Files and Velocimacros Resolution

As you probably know, there’s something special about developing applications with template languages (e.g. Velocity and Freemarker): lack of compile-time information prevents from resolving references to included files and library macros. But this is not a problem anymore — IntelliJ … Continue reading

Posted in New Features | Tagged , | 7 Comments

Determining Template Data Language by a File Extension

When using FreeMarker or Velocity with IntelliJ IDEA, you sometimes need to change the underlying language for a template to enable coding assistance and syntax highlighting. As with IntelliJ IDEA 8.1, you can open the Settings Dialog and select Template … Continue reading

Posted in New Features | Tagged , , | 3 Comments