[
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
|
It seems like everything I need. Thanks a lot for your help.
On September 4, 2019 at 07:55:46, Jonas Hungershausen (jonas.hungershausen@xxxxxxxxxxx) wrote:
Hi,
Note: "$/analyzerStatus" is the custom method the
server sends to the client. So for your
"metals/status" it should be the same. I'm not sure how to
implement the reverse though.
Hope this helps.
Jonas
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
_______________________________________________
lsp4e-dev mailing list
lsp4e-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/lsp4e-dev
_______________________________________________
lsp4e-dev mailing list
lsp4e-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/lsp4e-dev