VS Code has an editor.action.organizeImports command that organizes imports (e.g. removes unused imports, sorts alphabetically). Works for js/ts, and any other language that supports the editor command.
By default this option is off, to preserve backwards compatability.
VS Code has an
editor.action.organizeImports
command that organizes imports (e.g. removes unused imports, sorts alphabetically). Works for js/ts, and any other language that supports the editor command.By default this option is off, to preserve backwards compatability.