This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
There's a NetBeans plugin for Freemarker templates. http://plugins.netbeans.org/plugin/58284/freemarker-support-for-netbeans However in the last update of NetBeans it misbehaves - causes the editor to disappear, scrolling doesn't work, typing doesn't work - makes it unusable. Not sure how much that's under NetBeans team's wings. If not, perhaps you could take it over and fix? See also bug https://netbeans.org/bugzilla/show_bug.cgi?id=144971