Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Freemarker Eclipse Plug-In

Tags:

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???

like image 920
jeewan Avatar asked Feb 21 '12 21:02

jeewan


People also ask

How to Install FreeMarker plugin in Eclipse?

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.

How do I edit a FreeMarker template?

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.

What is FreeMarker used for?

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.

How do you comment out a FreeMarker?

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.


1 Answers

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:

JBoss Tools' FreeMarker IDE Editor

like image 138
evandor Avatar answered Sep 23 '22 08:09

evandor