Today installed Freemarker plug-ins on Eclipse, a start to install the official website of the recommended plug-in, installed on the other than the Freemarker code highlighting the other effects are not, depressed. In the Javaeye forum to ask the next, it is said that the official online plug-in bad use, and to reload a, here memo record.
First download the plugin in http://sourceforge.net/project/showfiles.php?group_id=163305, unzip, will Hudson.freemarker_ide_ The 0.9.14 folder is placed in the Plugins folder under Eclipse.
Discover Hudson.freemarker_ide_ 0.9.14 under the Freemarker-2.3.6.jar package is a relatively early version, with the new Freemarker-2.3.15.jar replacement, MANIFEST.MF Bundle-classpath also changed to Freemarker-2.3.15.jar
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 you are editing files that have HTML and freemarker tags mixed
Download Source package + Install IDE plugin, environment is ready ^ ^
Original: http://yuting-lv.iteye.com/blog/391932