ruff
eab3c4e3 - Enable ruff-specific source actions (#10916)

Commit
1 year ago
Enable ruff-specific source actions (#10916) ## Summary Fixes #10780. The server now send code actions to the client with a Ruff-specific kind, `source.*.ruff`. The kind filtering logic has also been reworked to support this. ## Test Plan Add this to your `settings.json` in VS Code: ```json { "[python]": { "editor.codeActionsOnSave": { "source.organizeImports.ruff": "explicit", }, } } ``` Imports should be automatically organized when you manually save with `Ctrl/Cmd+S`.
Author
Parents
Loading