Open Eclipse
1. Help-> Install New Software-> add pops up the following dialog box
Here, name any one name, location input http://download.jboss.org/jbosstools/updates/development/indigo/click OK. To install the Freemark IDE only, select the JBoss application Development--freemarker IDE in the list that appears below, and then install "next" according to the Setup wizard.
2. Restart Eclipse, a freemarker editor appears in the tree bar to the left of Window-preferences, as shown in the following figure:
3. Under General-> Editors-> file associations, add *.html *.htm for Freemarker and editor files their associated editor (Associated Editors)
This way, when you edit a file that is mixed with HTML and freemarker tags, you can open it by right-clicking the file, choosing Open Withfreemarker Editor. Double hit open *.FTL file, also with Freemarker editor open.
Oh, my!