One of the most asked for features in the Handlebars/Mustache plugin is the ability to embed templates into HTML files, usually in script blocks. This has turned out to be tough since the language we want to embed contains HTML, which confuses the standard language injection system. Any insight/help on how to implement this would be much, much appreciated.
See the history of this issue on here (note in particular the description of why language injection cannot be used for this).
I noticed that an HtmlScriptContentProvider extension point was recently added, which certainly sounds like what I'm after... implementing it in the obvious way doesn't quite work though (none of the plugins features are enabled in the new node, and pressing "Enter" in the editor anywhere inside that node results in IDEA throwing an error). Perhaps this is still being built out?
Hopefully that's a helpful amount of context, and not too wordy/confusing. Thanks in advance for any help! It would be absolutely fantastic to have this feature.