Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 11.0.2
-
None
Description
I installed the bash language server https://github.com/bash-lsp/bash-language-server via snap on Ubuntu 22.04.
After integrating in Creator, I get the following General Messages error:
LanguageClient bash: The command "/snap/bin/bash-language-server start" terminated with exit code 1. (see logs in "/tmp/QtCreator-OiAZmG/lspclient.ZfPAUL.log") LanguageClient bash: Unexpectedly finished.
The log contains the following message:
Starting server: /snap/bin/bash-language-server start Output:/snap/bash-language-server/69/server/node_modules/vscode-jsonrpc/lib/common/connection.js:531 responsePromise.reject(new messages_1.ResponseError(error.code, error.message, error.data)); ^ResponseError: The client cannot handle the method 'workspace/configuration'. at handleResponse (/snap/bash-language-server/69/server/node_modules/vscode-jsonrpc/lib/common/connection.js:531:48) at processMessageQueue (/snap/bash-language-server/69/server/node_modules/vscode-jsonrpc/lib/common/connection.js:327:17) at Immediate.<anonymous> (/snap/bash-language-server/69/server/node_modules/vscode-jsonrpc/lib/common/connection.js:311:13) at processImmediate (node:internal/timers:466:21) { code: -32601, data: undefined }
It seems that "The client cannot handle the method 'workspace/configuration'" leads to permanent restarts of the language server binary so navigation is not working.
Any hints?
This is the configuration of the server: