-
Notifications
You must be signed in to change notification settings - Fork 271
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
Advertise code action support #1038
Conversation
Haven't looked too much into this, but it seems to me like command based actions have been removed now in rust-analyzer (https://github.com/rust-analyzer/rust-analyzer/pull/4494/files#diff-cb373ef102a169ef5e1af6f370fd21ccL718) and they seem to now use a different struct for the CodeActions, it would be nice to get the payload of the response from rust-analyzer and maybe check that it correctly deserializes to a On another note, you might want to rebase this to |
b9a8771
to
6ed3266
Compare
I rebased my changes onto dev and I see two issues:
Visual code actions seem to work fine. |
About the first issue, I think it's because The second issue I could not reproduce, checked out your PR and tried with PS: remember to also change the target branch of the PR |
Could you make a separate PR please?
Yeah, I'll check the profile log to see what causes it.
Oh, right, thanks. |
Sure, opened #1039 to fix that. |
I found how to reproduce the hang issue: But "good" news is that I was wrong and it is also present on the |
I pushed a fix for the empty string action kind, I think the PR is good to merge now. |
Thanks! |
Fixes #1037