Reputation: 1
I am implementing a language server and try to integrate it in latest Visual Studio Code 1.54.3. At the moment I try to handle the fileOperations
capabilities, that have been added to 3.16 protocol version.
If I check the "initialize" message from the client, that is received by the server, the (optional) fileOperations
attribute is not provided, though. Is is possible that VS Code's LSP client does not support fileOperations capabilities in version 1.54? Is there a way to check the protocol's implementation state?
If this is the case, is there another way to get notified if a file is renamed or deleted? I need this information to reflect it within the server's AST and delete / remap information accordingly.
Upvotes: 0
Views: 98
Reputation: 376
In your VSCode extension, make sure you use the latest language client version. Adding "vscode-languageclient": "7.0.0"
in package.json did the trick for me.
Upvotes: 0