amatiasq / vsc-sort-imports

Sort ES6 imports automatically.
ISC License
57 stars 24 forks source link

Sort imports from command line #111

Open agestaun opened 1 year ago

agestaun commented 1 year ago

Hi there,

I woud like to be able to sort the imports from the command line, since I have to go one by one saving the file (I do not always use VSC, so I have to do it before commiting my changes). Is there any way to run a command to save all the files at once or to fix the imports with a command?

PD: no problem when using VSC, everything works as expected.

Thanks.

amatiasq commented 1 year ago

This extension uses import-sort package, check import-sort-cli