3 ms·
It's not that easy. LSP does not have a standard way to expose things not specified. So, at best you need an LSP server exposing more + the LSP client to also u
by jiehong 5mo ago
It's not that easy. LSP does not have a standard way to expose things not specified. So, at best you need an LSP server exposing more + the LSP client to also understand it [2].
The best that comes to mind is nvim-jdtls [0].
Maybe at some point the LSP spec could be extended with more refactoring, or maybe there could be a open rewrite LSP server [1].
I wouldn't expect intellij to release a LSP server with all the refactoring tools, though.
[0]: https://codeberg.org/mfussenegger/nvim-jdtls https://codeberg.org/mfussenegger/nvim-jdtls
[1]: https://docs.openrewrite.org/ https://docs.openrewrite.org/
[2]: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_codeAction https://microsoft.github.io/language-server-protocol/specifi...