Custom LSP commands #3933
-
Is there a way to send custom LSP commands to a running server? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Unless you mean code actions (Space-a), this is not possible. There are a few language servers that we know use custom extensions on the LSP protocol (rust-analyzer, solargraphs) and supporting their custom extensions would be great as plugins. Until there's a plugin system, a fork is the most pragmatic way to implement the extensions. |
Beta Was this translation helpful? Give feedback.
-
Yeah, I need to to send a custom I guess I'll go with a fork for now, thanks! |
Beta Was this translation helpful? Give feedback.
Unless you mean code actions (Space-a), this is not possible. There are a few language servers that we know use custom extensions on the LSP protocol (rust-analyzer, solargraphs) and supporting their custom extensions would be great as plugins. Until there's a plugin system, a fork is the most pragmatic way to implement the extensions.