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 enter the location in the dialog box: http://download.jboss.org/jbosstools/ Updates/development/indigo/,name can take one. All available plugins are then listed, and if you only need to install the Freemarker IDE, you can find and select it under JBoss application development and then follow the wizard to install it successfully.
exit Eclipse and restart, and 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 editing files with HTML and freemarker tags.