Skip to content
Discussion options

You must be logged in to vote

I see, then you should definitively instruct the client to update the document - otherwise the document in the editor and the one in your language server will desync.

You can use sharedServices.lsp.Connection to communicate with the client. I believe you should be able to use Connection.workspace.applyEdit to apply the change on the client.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AresEkb
Comment options

@msujew
Comment options

Answer selected by AresEkb
@AresEkb
Comment options

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