Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lsp4e-dev] Add workspace/executeCommand support for client and server

Hi,

For executeCommand, as it's basically a wildcard operation and there is no standard way to discover commands, it's going to be up to you to place the pieces of UI where is makes sense to invoke a specific command.
For the custom notificaiton, the extension points to declare your language server allows to give extension classes for both client and server, where you can add methods and annotate them with @JsonRequest or @JsonNotification from LSP4J API to bind them to specific messages. Unfortunately, I don't have an example at hand to share here. Hopefully someone else can share one later.

HTH

Back to the top