Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
15
-
None
-
None
Description
There are already other modules that depend on LSP APIs, but they cannot contribute commmands to LSP clients, some weird hacks (see https://github.com/apache/netbeans/pull/4461#discussion_r936310039) must be done in integration code. Some SPI should be introduced so that the modules can expose their functions not only to the IDE, but also to lsp clients.
IMHO trivial deserialization of command parameters and serialization of the command results should be handled by the LSP server module.
Question: should be the LSP commands, served to external LSP clients, served also to the INTERNAL LSP client, if used ?