KronicDeth / intellij-elixir

Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)
Other
1.83k stars 154 forks source link

Slime HTML template engine support #1775

Open SeinopSys opened 4 years ago

SeinopSys commented 4 years ago

I'd like to request support for the Slime HTML template language for *.html.slime files. It's what the Elixir-based project I contribute to most uses and it would be great if there was syntax highlighting, similar to Ruby's Slim templates

KronicDeth commented 4 years ago

Adding template language support is a big feature. The baseline EEx template language doesn't even work completely - it doesn't support formatting and commenting of the embedding language, such as HTML, correctly yet.

A lot of this depends on how complex the Slime grammar is.

Rubymine having Slim support doesn't really help at all. I can't see their code for the Slim support since that's part of the closed source, not the public stuff in IntelliJ Community.