The Freemarker template file uses the Freemarker IDE provided under JBoss tools.
The online installation method is:help–> Install New Software Click and, and then out of the dialog box in the location input:
http://download.jboss.org/jbosstools/updates/development/indigo/
Name a random one. You will then list all available Plug-ins, and if you only need to install the Freemarker IDE, you can locate and select it under JBoss application Development, and then follow the wizard to install successfully.
Exit Eclipse and restart, and Freemarker editor a new content appears in the tree bar on the left side of window--> Preferences. Under General--> Editors--> file associations, add (add) *.html *.htm for Freemarker and Editor files as their associated editor (associated Editors ), the default editor for *.FTL files is Freemarker Editor. This allows you to choose to right-click the file--> Open with HTML Editor or open with Freemarker Editor when editing files mixed with HTML and freemarker tags.