Skip to content
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

Code Actions #840

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Code Actions #840

wants to merge 8 commits into from

Conversation

ejgallego
Copy link
Owner

@ejgallego ejgallego commented Sep 29, 2024

We provide primitive support for the textDocument/codeAction request, for Coq's quickfixes (c.f. coq/coq#19147 )

In particular, we now store the quickfix metadata that Coq may send in the diagnostics extra data, which is then queried by the request handler.

This should not provide a lot of overhead but beware.

We introduce a new kind of Inmediate request, this should help with codeAction and for documentSymbol when in non continuous mode. c.f. #816

This opens again the question about why errors are processed specially w.r.t. other async data like feedback.

This would IMHO require a greater intervention upstream.

Not sure I'm happy about the impact of this, but not sure either how
to make it more minimal.

Some more abstraction w.r.t. async events would be welcome, the error
/ diagnostic separation as of now either is not super user-friendly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant