MaskRay added a comment. Rather than use a `workspace/executeCommand` command, you may consider making it a custom request message whose method name starts with `$/`
https://microsoft.github.io/language-server-protocol/specification > Notification and requests whose methods start with ‘$/’ are messages which > are protocol implementation dependent and might not be implementable in all > clients or servers. For example if the server implementation uses a single > threaded synchronous programming language then there is little a server can > do to react to a ‘$/cancelRequest’. If a server or client receives > notifications or requests starting with ‘$/’ it is free to ignore them if > they are unknown. The return type of `workspace/executeCommand` is `any | null` per spec, but its interpretation may not be that flexible in some clients. It is pretty simple to use lsp-mode eglot vscode-languageclient to send custom request messages, though. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D52937 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits