A simple plugin for VSCode to change all Dart/Flutter imports to relative format.
Find it on the VSCode Marketplace.
Run the command "Fix Imports" from the Command Palette; all imports from your own package will become relative. Also, the "Organize Import" command will be called.
The only command added (so far) is "dart-import.fix"; you can bind it as desired.
Any help is appreciated! Comment, suggestions, issues, PR's! Give us a star to help!
This is a regular vscode extension setup. You can use the scripts in the
To setup, run
Then, you can run
To test in your machine, run