-
Notifications
You must be signed in to change notification settings - Fork 57
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
Register VS Code command as per server capabilities #513
Labels
internal
An internal refactor or improvement
Comments
I don't think this is possible because the VS Code command registration happens in the extension manifest via https://code.visualstudio.com/api/references/contribution-points#contributes.commands. Lines 418 to 454 in d5cfec6
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The VS Code commands should only be registered if it's available in the server capabilities (astral-sh/ruff#11850). This way we don't need to check for Ruff version in which a command was added.
This is not a high priority and can be done after the stable release.
The text was updated successfully, but these errors were encountered: