Re: FreeMarker support for NetBeans
RafaĆ Ostanek <[email protected]> Fri, 29 May 2015 17:35:55 +0200
| Newsgroups | gmane.comp.web.freemarker.devel |
|---|---|
| Message-ID | <[email protected]> |
Thank you for quick reply and update on the website. I will remove <@html_escape> from template in the next version. Colouring of start-tag looks like that, because user directive tag consists of 2 tokens: UNIFIED_CALL and ID, while UNIFIED_CALL_END is full tag. So I couldn't distinguish that ID from simple variable name. freemarker-2.3.22.jar is embedded into the plugin, so user can't switch it to different version without recompilation of the plugin. I also use FTL.jj to generate lexer, so switching only jar won't work for syntax solouring. Thanks for the hint with directive names and all feedback! On 2015-05-28 22:37, Daniel Dekany wrote: > Hi, > > Thanks, I have updated http://freemarker.org/editors.html! > > The examples when creating a new file is a bit odd. Especially > <@html_escape>, which is a rarely if ever used legacy. BTW, something > is off with the coloring of that stat-tag (it's mostly black after the > @, not red). You may also want to tell users where to update > freemarker.jar in case there are new bulilt-ins or directives they > want to use but are marked as errors. > > (Also just in case it was missed, the list of legal directive names > can be queried from there: > freemarker.template.Configuration.getSupportedBuiltInDirectiveNames(). > There's a similar method there for built-in names, if you want to > color those to at some later point.) > ------------------------------------------------------------------------------