Skip to content

Use workspace/executeCommand instead of codeAction/resolve to be spec compliant#836

Open
JojOatXGME wants to merge 1 commit into
nix-community:mainfrom
JojOatXGME:issue818
Open

Use workspace/executeCommand instead of codeAction/resolve to be spec compliant#836
JojOatXGME wants to merge 1 commit into
nix-community:mainfrom
JojOatXGME:issue818

Conversation

@JojOatXGME

Copy link
Copy Markdown

This PR replaces codeAction/resolve with workspace/executeCommand for action callbacks.

While this might not be the cleanest implementation, I should demonstrate how I think this functionality should be implemented to stay compliant to the LSP specification.

Fixes #818

@JojOatXGME JojOatXGME changed the title Use workspace/executeCommand CodeAction execution instead of codeAction/resolve to be spec compliant Use workspace/executeCommand instead of codeAction/resolve to be spec compliant Jun 7, 2026
@JojOatXGME

JojOatXGME commented Jun 7, 2026

Copy link
Copy Markdown
Author

Looks like I would need to adjust some tests. Unfortunately, I am not sure how to run the tests locally because I run into compile errors unrelated to my changes caused by -Werror=pedantic. Not sure why this happens and how to fix it. (A build via nix run . works, though.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unprompted opening of noogle.dev

1 participant