Editor / IDE plugins

Syntax highlight definitions and other plugins for text editors and IDE-s. We encourage everybody to develop and send syntax highlight definitions or other plugins for his/her favorite editor or IDE!

Editor or IDE Features Get it
Eclipse Syntax highlight, syntax error marker, code completion for macro names and bean property names.

This is developed as part of JBoss Tools.

On Eclipse Neon or later, go to "Help" / "Eclipse Marketplace...", search for "JBoss Tools" (should give version 4.4.1 or later), "Install". A tree of check boxes will appear, uncheck all (by unchecking the root) except "FreeMarker IDE".

On Eclipse Mars or Luna, you should still install the "FreeMarker IDE" plugin from JBoss Tool 4.4.1 or later, but the Eclipse Marketplace won't show it. So in Eclipse, go to "Help" / "Install New Software...", and copy-paste http://download.jboss.org/jbosstools/neon/stable/updates/ into the "Work with" field. While this URL is for Eclipse Neon, the "FreeMarker IDE" component under it works on Eclipse Mars too (maybe even on Luna). So expand the check box tree appearing below, and select "FreeMarker IDE" only. Don't left any other components checked. Then "Next", "Next", "Finish".

Report bugs found on the bug tracker of the JBoss Tools project (Key: JBIDE; Component: freemarker), and help to make the plugin better on GitHub!

To install the nightly development version, use this Eclipse update site: http://download.jboss.org/jbosstools/neon/snapshots/builds/jbosstools-freemarker_master/latest/all/repo/

Note: If the plugin comes with an older FreeMarker version than the one your application uses, it will mark the usage of too fresh language features as errors, or the other way around. To fix this, find freemarker*.jar inside the installed plugin, under <userHome>/.eclipse/ or under the Eclipse installation directory (you may need to search inside jar-s). Exit Eclipse, and overwrite it with the freemarker.jar you want, but keep the file name of the replaced jar. You may also need to find and delete the extracted OSGi bundle under configuration\org.eclipse.osgi for the changes to take effect.

Emacs Syntax highlight, indentation, block folding, some code navigation. Emacs major-mode for editing Web templates, includes FreeMarker support among others. The homepage of web-mode.el
Emacs (tried with 20.7) Syntax highlighting ftl.el v0.1
Kate and KWrite (tried with Kate 2.5.10 and 3.2) Syntax highlighting kwriteftl.tar.gz (2009-08-08)
NetBeans (tried with 8.0.2) Syntax highlight, syntax error marker, directive name auto-completion. Can be installed from NetBeans, under Tools/Plugins. Also manually from its NetBeans plugin portal page...
NetBeans (6.0, may doesn't work with 7+) Syntax highlight, code completion, template navigation Download from its NetBeans plugin portal page...
TextMate Syntax highlight Install from Github Project
TextPad 4 or later Syntax highlight textpadftl.zip (2003-03-24)
Vim ("Vi IMproved") Syntax highlight ftl.vim (2011-10-07)

Note that some editors/IDEs, such as IntelliJ IDEA and jEdit, supports FreeMarker out-of-the-box.