dcortes92 / vs-freemarker

FreeMarker language colorization extension for Visual Studio Code
MIT License
25 stars 14 forks source link

Parse *.ftlh and *.ftlx files as Freemarker #21

Closed KolyaKorruptis closed 5 years ago

KolyaKorruptis commented 5 years ago

These are recommended file extensions for autoescaping of HTML (ftlh) and XML (ftlx). See: https://freemarker.apache.org/docs/dgui_misc_autoescaping.html

Currently I cannot seem to find a way to automatically highlight them as Freemarker. Adding "files.associations": { "*.ftlh": "Freemarker" } to settings.json does not seem to do the trick.

EDIT: After letting VSCode do the file association via the language menu, it worked fine.