-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
First I wanted to say, lspx works great for diagnostic and formatting. I've used it with basedpyright and ruff successfully, through emacs/eglot. It is also the only lsp multiplexer I've found that supports workspace configuration.
But I noticed if you try to use a codeAction, like ruff's organizeImports, lspx crashes. Here's the stacktrace:
Error: Unhandled method codeAction/resolve
at handleResponse (file:///tmp/deno-compile-lspx/.deno_compile_node_modules/localhost/vscode-jsonrpc/8.2.1/lib/common/connection.js:565:48)
at handleMessage (file:///tmp/deno-compile-lspx/.deno_compile_node_modules/localhost/vscode-jsonrpc/8.2.1/lib/common/connection.js:345:13)
at processMessageQueue (file:///tmp/deno-compile-lspx/.deno_compile_node_modules/localhost/vscode-jsonrpc/8.2.1/lib/common/connection.js:362:17)
at file:///tmp/deno-compile-lspx/.deno_compile_node_modules/localhost/vscode-jsonrpc/8.2.1/lib/common/connection.js:334:13
at ext:deno_web/02_timers.js:35:14
at eventLoopTick (ext:core/01_core.js:213:13) {
code: -32601,
data: undefined
}
The jsonrpc request that preceeded it was:
{"jsonrpc":"2.0","id":82,"method":"codeAction/resolve","params":{"data":"file:///home/<path_redacted>","kind":"source.organizeImports.ruff","title":"Ruff: Organize imports"}}
Before this happened, there was a successful textDocument/codeAction request which got all the available code actions for both servers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels