We’ve started using Freemarker for our web and email templates, but one problem we had is with syntax highlighting in Eclipse, it just showed them as one black and white mass of code.
One quick solution was to open *.ftl with the WTP HTML editor, to do that right click on an ftl file and select ‘open with…’ and follow the prompts. The only problem is that Eclipse then started showing errors on a lot of the templates so we had to disable validation . To do the same, open Eclipse preferences and find the Web/Html file/validation page screen and set all of the values set to ’Error’ to ‘Warning’ or ‘Ignore’.
A quick refresh and rebuild removes all of those pesky build error markers