The Freemarker template file uses the Freemarker IDE provided under JBoss Tools,
The methods for online installation are:
help–> Install New Software
Click and, and then enter the location in the dialog box:
http://download.jboss.org/jbosstools/updates/development/indigo/,
Name just grab one. Then all the available plugins are listed,
If you only need to install the Freemarker IDE, you can find and select it under JBoss application development.
Then follow the wizard to install successfully.
Exit Eclipse again, a new content in Freemarker Editor appears in the tree bar on the left side of window---Preferences. Add (Add) Freemarker Editor for *.html and *.htm files in their associated editor (associated Editors) under general-----Editors file associations ), the default editor for the *.FTL file is Freemarker editor. This allows you to choose right-click Files--Open with HTML editor or open with Freemarker Editor--When you are editing files that have HTML and freemarker tags mixed
How eclipse installs the Freemaker FTL plugin