Reputation: 165
After a clean install of Spring Tool Suite and the necessary plugins my current project requires (of which Freemarker is one) I find that HTML seems to be ignored within all of my .FTLs and is just displayed as black text (see image of settings). Prior to this, any HTML tags, comments and strings were picked up and highlighted in the default colours given. To clarify, now it's only the Freemarker specific syntax that is now detected.(Directives - Blue and Freemarker variables - Pink)
If anyone knows how to fix this issue I would be greatly appreciative!
Upvotes: 1
Views: 2409
Reputation: 31122
That's https://issues.jboss.org/browse/JBIDE-22631. If you are using file .html.ftl
or .xml.ftl
(or ftlh
or ftlx
when JBIDE-22636 will be merged) file extension, it starts doing some highlighting, though it doesn't colorize the attributes differently anymore.
Upvotes: 1