Removing unused imports with "Optimize Imports" command does not work in case if:
- option "Use Import Optimizer" in Ruff plugin is enabled
- fixing unused imports disabled in
.ruff.toml file:
[lint]
unfixable = ["F401"]
If I disable Ruff plugin, everything works fine. Unused imports will be removed with help "Optimize Imports" command.
Removing unused imports with "Optimize Imports" command does not work in case if:
.ruff.tomlfile:If I disable Ruff plugin, everything works fine. Unused imports will be removed with help "Optimize Imports" command.