3 ms·
Have you found a good replacement for that in other editors? I hate it when I try to refactor or rename something in VSCode, which can be done deterministicall
by manfredve 5mo ago
Have you found a good replacement for that in other editors?
I hate it when I try to refactor or rename something in VSCode, which can be done deterministically, but it tries to use AI for it, which can mess things up.
- jiehong 5mo agoIt'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...