Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lsp4e-dev] Extending the LSP in lsp4e

Hi Lucas,

The "languageServer" extension point should allow you to specify alternative implementations of "LanguageServer" and "LanguageClient", where you can add custom operations support by annotation with the @JsonRPC annotations and message ids. See this change: http://git.eclipse.org/c/lsp4e/lsp4e.git/commit/?id=f8ec1060cfdba0b8e66c0f682d88605bd897f994
I think you can simply pass your classes with the necessary extensions there just like you'd do to LSP4J and you should see the additional methods invoked on notification and could use the new operations you've added so they'd become transfered over JsonRPC to the server.

HTH (and if it doesn't help, feel free to ask for more ;)

Back to the top