Nate
Nate
This also happens with other Typescript scopes: https://discuss.atom.io/t/cant-seem-to-style-element-based-on-cursor-scope/51526
1.24.0-beta3 w/ macOS 10.12.6. I could get suggestions showing--but it takes a few tries and doesn't work consistently.
I already have this setting enabled: `"tsImportSorter.configuration.wrappingStyle": "prettier"` and it doesn't seem to fix the problem. Can there be a setting to only sort/organize? Having this extension also handle formatting...
The correct output should be having those imports split across several lines. If I disable this extension and let prettier handle formatting, the code is formatted properly. If I disable...
> I had the "jumping around on every save" issue, and setting `"tsImportSorter.configuration.wrappingStyle": "prettier"` fixed it for me. Thank you. In the above, I already have this setting and it...
The real fix here would be to remove formatting responsibilities from this extension and have it purely handle sorting.
I don't have an answer to that. Someone needs to submit a PR with those changes. There isn't a fix for this currently.
Unfortunately that doesn't solve the problem as it just makes TS Importer/Sorter the formatter for imports; if someone else working in your project doesn't have this VS Code extension, their...
```jsonc "editor.codeActionsOnSave": [ "source.addMissingImports", "source.organizeImports.sortImports", "source.formatDocument", // prettier "source.fixAll.eslint" ] ``` It still causes the imports to change formatting on every save. [This is referenced in the OP](https://github.com/daidodo/format-imports-vscode/issues/91#issue-1553501453)
I think I fixed this by adding another prettier call: ```jsonc "editor.codeActionsOnSave": [ "source.addMissingImports", "source.organizeImports.sortImports", "source.formatDocument", "source.formatDocument", "source.fixAll.eslint" ], ``` I not longer have the jump in formatting.