Closed cliffkoh closed 6 years ago
Made the changes requested, please help check :)
BTW, I found out bypass sort and save does not work, so I fixed it too... (I doubt it ever worked, unless it was a breaking change in VSCode extensibility APIs).
Yeah, it's possible that bypass sort and save never worked after the refactoring. This project needs some test to prevent that to happen again.
This PR fixed so many things, I'm going to release a new minor version now. Thanks, it's a great job!
sort-imports.default-sort-style
, which defaults tomodule-compact
. Other possible values aremodule
andeslint
.sort-imports.cache-package-json-config-checks
which defaults totrue
. When true, will cache calls toimport-sort-config
thereby improving performance (avoids repeated non-trival disk lookups and parsing).Save file without sorting import
which caused it to not work.