Reputation: 1997
Actually we have freemarker files (ftl) under Eclipse + Freemarker plugin (from JBoss).
Do you know a way to format ftl files ?
Thanks
Upvotes: 11
Views: 17981
Reputation: 1737
An old question. I had the same problem for some time now, the default html editor contains some irritating features when working on freemarker templates, especially when using the bracket syntax.
Aptana studio eclipse plugin solves most of the problems: http://www.aptana.com/products/studio3/download
Upvotes: 0
Reputation: 15769
For ftl files that represent HTML configuring eclipse to open the HTML Editor works nicely. The HTML Editor has formatting capability as asked for. Todo configure eclipse to open ftl files with the HTML Editor you can use "open with" and there you'll get offered to link the HTML Editor permanently to the ftl extension:
In the Content Types Preferences Page you can than actually add the *.ftl extension:
Upvotes: 16
Reputation: 47290
Associated the ftl file extension with your web page editor (assuming you have wtp already installed).
Upvotes: 0
Reputation: 8949
I looked for a formatting tool a few months ago and I was unable to find any such tools. To my knowledge there no such tools currently available, just the syntax highlighting you mentioned.
Upvotes: 3