astral-sh/ruff-vscode

Graceful notification for unsupported features.

T-256 opened this issue · 1 comments

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.

Is this similar to #476?