Closed ZouYouShun closed 2 years ago
Thanks for the feedback!
Could you be more specific about your use case?
My assumption is if people install the extension, they expect it to work right away, instead of needing another step to enable it.
actually, I pack your package into my extension call index-generator and use your command directly🤣 https://github.com/ZouYouShun/vscode-index-generator/blob/master/src/handlers/fixFileOnce.handler.ts#L72
so that make users meet that default save format issue,
maybe turning that off will be friendly,
users will not meet any confusion when they don't want that format and just use that command to sort when that want.
Thanks for sharing!
Have you checked https://github.com/daidodo/format-imports on which this extension is built? You can use either the CLI or APIs in your extension and customize configs as you want.
hi @daidodo !
awesome extension!
thanks a lot for that extension, I have some suggestions for you,
could we change that
autoFormat
tooff
"tsImportSorter.configuration.autoFormat": "off",
I think that will be greater for users to config that if they want that auto format.
otherwise when user not config with prettier or eslint yet, they will meet that conflict issue.