Skip to content

Pass data and kind from code action #3505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timfel
Copy link
Contributor

@timfel timfel commented May 3, 2022

When a code action comes in and is routed via lsp--execute-command to a custom action-handler, we want the data and kind fields of the code action to also be passed into the handler, not just the command.

When a code action comes in and is routed via `lsp--execute-command` to a custom `action-handler`, we want the data and kind fields of the code action to also be passed into the handler, not just the command.
@timfel
Copy link
Contributor Author

timfel commented May 4, 2022

I guess I may be misunderstanding something about how the CodeAction is pulled apart - how do I ensure that the entire thing with all properties ends up being passed to my action-handler?

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.

1 participant