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

Sort code actions by specificity #245

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Conversation

MrGreenTea
Copy link
Contributor

Summary

It changes the sort order sent to clients. This way code actions for specific diagnostic codes are suggested before more general ones like 'Fix: All' or 'Organize Imports'.

See issue #210 for discussions

Test Plan

❔ I need help with this how you suggest to do it.

This way code actions for specific diagnostic codes are suggested
before more general ones like 'Fix: All' or 'Organize Imports'.

See issue astral-sh#210 for discussions
@charliermarsh charliermarsh merged commit b12a277 into astral-sh:main Sep 27, 2023
18 checks passed
@charliermarsh
Copy link
Member

Thanks! This makes sense.

@charliermarsh
Copy link
Member

(I think this is small enough that we don't need dedicated tests for it. I'd typically do some manual testing via the VS Code extension.)

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.

2 participants