How to automatically apply changes in auto formatting?
pedrolemoz opened this issue · 2 comments
pedrolemoz commented
Hello! I would like to know how to put certain actions to be executed automatically when the auto formatter is used.
I'm currently using VS Code, and I would like all my imports to be changed to relative imports, and then, automatically organized. Any idea how to do this?
tenhobi commented
Hi, that is not possible at the moment I think. Anyhow, try to ask in linter or vs code's dart plugin repo for this feature?
pedrolemoz commented
Hi! I found an extension for VS Code that do this job. It's called dart-import. You can find the repo here: https://github.com/luanpotter/vscode-dart-import, and the extension in marketplace: https://marketplace.visualstudio.com/items?itemName=luanpotter.dart-import