How can I install Freemarker Plug-In in eclipse?
I googled it and found this site
https://sites.google.com/site/hcao2008site/development/leareclipse/install-freemarker-plugin-in-eclipse
but it did not work for me. The URL "http://www.freemarker.org/eclipse/update" as it has mentioned in #3 does not exist. Then I tried the URL "http://www.freemarker.org/eclipse/" then it worked but after installation, I added *.ftl as file types inside Windows -> Preference -> General -> Editors -> FIle Associations but I could not find the Freemarker editor inside "Associated editors".
I am using Eclipse of Version: Indigo Service Release 1 in windows 7.
Any suggestions please???
For installing, open eclipse, than go to Help > Install New Software >> add the above update site url, From the many installations available from that update site, you can just install the editor, you can just install the 'FreeMarker IDE' from All JBoss Tools menu. See below screenshot for help.
In the Settings/Preferences dialog ( Ctrl+Alt+S ), click Editor and then click File Types. Under Recognized File Types, select FreeMarker Template or Velocity Template. In the Add Wildcard dialog, specify the file name extension pattern, select a language, and click OK. Click OK to apply changes.
FreeMarker is a template engine, written in Java, and maintained by the Apache Foundation. We can use the FreeMarker Template Language, also known as FTL, to generate many text-based formats like web pages, email, or XML files.
Comments: <#-- and --> Comments are similar to HTML comments, but they are delimited by <#-- and -->. Comments will be ignored by FreeMarker, and will not be written to the output.
You could try the JBoss Tools plugins available from http://download.jboss.org/jbosstools/updates/development/indigo/, they contain the "FreeMarker IDE" which provides a nice freemarker editor.
I didn't find a screenshot of the editor right now, so I will show you how it looks like in my installation (Indigo on Ubuntu 11.10), so that you can decide if this is what you want:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With