Open bobf opened 6 months ago
For the time being, you can import the vscode zmpl syntax highlighting into intellij pretty easily, you just need to:
TextMate Bundles
plugin enabled in intellijEditor -> TextMate Bundles
, click on the plus symbol, and select the directory that contains the zmpl syntax highlighting's package.json filezmpl
should appear in the TextMate Bundles list, and you should have basic syntax highlighting in zmpl filesI won't be able to add any of the deeply integrated features (go to definition, etc.) without native ZLS support unfortunately, so anything i implemented in ZigBrains would be almost functionally equivalent to doing it with TextMate bundles.
Keep this issue open for now and bump it when the ZLS team starts working on adding zmpl support.
I'm also open to pull requests if someone else is willing to work on it, as I don't really do web development, so I don't have a lot of motivation to spend a lot of time integrating and debugging this.
@FalsePattern Thanks a lot for the quick and informative response - I'll pick up with the ZLS author, it's been on my TODO list for a while. Enjoy the rest of your weekend !
Hi, at the request of this reddit comment I am checking to see how feasible it would be to add Zmpl (templating language for Jetzig) to ZigBrains.
I have a feeling ZLS integration would be needed first so please feel free to close this issue if that's the only required step.
Thanks in advance !