language-server-protocol

Vscode Language Client extension - how to send a message from the server to the client?

泪湿孤枕 提交于 2019-12-01 05:18:44
问题 I have been developing a vscode extension that consits of client and server using the language server protocol. At the moment, I am trying to do the following thing: when the server detects a certain condition, he requests the client to load a certain number of files into the workspace. I am having serious problems doing this. Since the language server protocol does not have a specific request to do this I thought about sending a message from the server to the client and once the client