rome / tools

Unified developer tools for JavaScript, TypeScript, and the web
https://docs.rome.tools/
MIT License
23.77k stars 663 forks source link

IntelliJ Platform Language Server Protocol #4658

Open denbezrukov opened 1 year ago

denbezrukov commented 1 year ago

Implement lsp client for IntelliJ

https://blog.jetbrains.com/webstorm/2021/09/building-a-plugin-for-webstorm-part-1/

https://github.com/JetBrains/intellij-plugins/blob/master/prisma

https://blog.jetbrains.com/platform/2023/07/lsp-for-plugin-developers/

magnetardev commented 1 year ago

I don't know if any progress has been made on this, but as a quick weekend project I tried my hand at writing a plugin. It supports formatting, linting, and specifying an executable path to use, so it's in a somewhat usable state.

I have never used Kotlin or written a IntelliJ plugin before so I don't know how good it is, but it could be used as a base for a more complete version: https://github.com/magnetardev/intellij-rome

nissy-dev commented 1 year ago

Your implementation is very useful! I have been interested in this implementation on my end, and I plan to start implementing it within a few weeks using this implementation as a reference.