statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
31 stars 1 forks source link

Antlers support for JetBrains IDEs (Language Server) #754

Open RafaelKr opened 2 years ago

RafaelKr commented 2 years ago

I - and probably many others - are developing with a JetBrains IDE (IntelliJ IDEA, PhpStorm, WebStorm, ...) Currently there is no support for the Antlers Templating language.

I found https://github.com/Stillat/vscode-antlers-language-server, which is developed by @JohnathonKoster who is also doing the Antlers Parser rewrite. This plugin implements a Language Server providing Language Server Protocol support, which could be used to "easily" implement plugins for many different Editors-/IDEs.

I think it would be great to have one language server which is the foundation of every Editor-/IDE-Plugin. So the complex part is only maintained once and then there are only wrappers around that one Language Server for the Plugins.

RafaelKr commented 2 years ago

There's also an issue requesting Antlers support on the JetBrains side: https://youtrack.jetbrains.com/issue/WI-41829 I did cross-reference this issue also there (https://youtrack.jetbrains.com/issue/WI-41829#focus=Comments-27-5762116.0-0)

JohnathonKoster commented 2 years ago

Another issue to keep an eye on is for official LSP support within their ecosystem: https://youtrack.jetbrains.com/issue/IDEABKL-7409