prettier-plugin-organize-imports
prettier-plugin-organize-imports copied to clipboard
Make Prettier organize your imports using the TypeScript language service API.
The [`source.sortImports`](https://code.visualstudio.com/updates/v1_57#_sort-imports-source-action) code action is similar to the what organize imports does, except it doesn't doesn't remove "unused" imports. Automatic removal of "unused" imports by a Prettier plugin is unacceptable,...
On a typescript react project when you have (2+) named imports commented out, this prettier plugin will insert new lines and duplicate them unnecessarily. Steps to reproduce: 1. Have a...
I have used this plugin in Angular, React and Vue projects. Recently we started migrating a codebase to Svelte and I was eager to keep using this plugin for .svelte...
Hi guys, I really like this plugin, however what I have noticed that it slows down prettier by quite a lot. For example, here is with this plugin:  and...
The volar packages have been renamed in https://github.com/vuejs/language-tools/pull/3134. It would be nice if the new vue/typescript package could be supported as well.
Hello there, I've been using this module for a long time, but now when I upgraded to prettier 3.1.0 and to 3.2.4 of this package, everything works fine but on...
# Description I'm running into issues getting the imports automatically sort in Vue SFCs. As the docs suggestion, I've installed `@volar/vue-typescript` (and have also tried `@vue/typescript`)—but that didn't resolve the...
Still work-in-progress, doesn't actually work yet (see failing test). Would close #39.
Right now, it removes all imports and messes with the JSX, removing or adding random characters.
resolve #98