astral-sh / ruff-vscode

A Visual Studio Code extension with support for the Ruff linter.
Other
945 stars 45 forks source link

Graceful notification for unsupported features. #508

Closed T-256 closed 2 days ago

T-256 commented 5 days ago

Since the default behavior of this extension is to use ruff binary from environment, sometimes users update the extension but still use outdated version of ruff binary in their environment. So, when new feature available to the extension's settings/commands, it may throw multiple error notifications to the users about ruff crashing. potential solution is specifying minimum required ruff version at extension side for new settings/commands. so, when that feature has been used, we can ignore it and show user a warning instead.

dhruvmanila commented 2 days ago

Is this similar to https://github.com/astral-sh/ruff-vscode/issues/476?