astral-sh / ruff-vscode

A Visual Studio Code extension with support for the Ruff linter.
Other
1.06k stars 53 forks source link

Register VS Code command as per server capabilities #513

Open dhruvmanila opened 3 months ago

dhruvmanila commented 3 months ago

The VS Code commands should only be registered if it's available in the server capabilities (https://github.com/astral-sh/ruff/pull/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.