Skip to content
Discussion options

You must be logged in to vote

I can think of three ways to address this requirement:

  1. In use cases like you have, we would typically have a connection from the GLSP server to your language server, so that you can query its internal state, like the AST, using custom operations and then create a diagram from it. If you have the language server connection, you could invoke the rename method in the language server also from the GLSP server.

  2. Register an additional action handler on the client that reacts to ApplyLabelEditOperation and then call the language server from there. On the GLSP server, just register a noop for the label editing handler. This would look something like the following in the client code:

export c…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by planger
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants