sqls
sqls copied to clipboard
Error when running code actions
Describe the bug
While trying to run any code action I am receiving an error:
To Reproduce Steps to reproduce the behavior:
- Setup a db connection
- Open an SQL and write any query
- Select the "Execute Query" code action
Actual behaviour
Error: 1RPC[Error] code_name = MethodNotFound, message = "method workspace/executeCommand is not supported by any of the servers registered for the current buffer"
Expected behavior
Query will be executed.
Versions (please complete the following information):
- OS Version: Ubuntu 20.04.2
- sqls Version: sqls Version:0.2.18, Revision:db8733f
- Editor: NVIM v0.5.0-dev+1233-g82ac44d01
Additional info
- LspInfo shows that sqls is up and running
- code completion works
In 2022, me either
@kwagi you may wanna try this plugin. I believe such code actions are off-spec and therefore nvim's builtin LSP doesn't support them by default.