rostanek / freemarker-support-for-netbeans

FreeMarker support for NetBeans including syntax coloring, parsing etc. new features will be added soon.
GNU General Public License v3.0
19 stars 7 forks source link

Invalid html auto format #1

Open skyghis opened 9 years ago

skyghis commented 9 years ago

Here a simple sample case:

<#import "macro/html.ftl" as html/>
<@html.page title="${title}">
<div>
    <span>toto</span>
</div>
</@html.page>

After Source/Format (Alt+Shift+f)

<#import "macro/html.ftl" as html/>
<@html.page title="${title}">
<div>
    <span>toto</span>
    </div>
</@html.page>

The html formatting works if I rename the file with .html extension.

rostanek commented 9 years ago

I tried to figure it out, but it seems that this is a problem with HtmlLanguage which is embedded inside FreeMarkerLanguage. At this moment I have no idea how to fix that.

devMls commented 4 years ago

Any update if that? It is very disgusting. The plugin seems abandonated. Anyone know a alternative? If a plugin like this with support to html and JavaScript highlights and Code completion like usual html file , It could be fantastic