VSCode has the concept of file formatters which can be ran using the Format Document command. This command can also be configured to run on save with "editor.formatOnSave": true.
Have you thought about adding sort-imports as a formatter? This would provide consistent with other formatters like Prettier.
We were talking about this in #7. The problem is VSCode only allows one formatter at the time and we don't want to force users to choose between sort-imports and any other formatter out there because it's not what this extension is focused on.
VSCode has the concept of file formatters which can be ran using the
Format Document
command. This command can also be configured to run on save with"editor.formatOnSave": true
.Have you thought about adding
sort-imports
as a formatter? This would provide consistent with other formatters like Prettier.