Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bluefireteam/vscode-dart-import
A simple plugin for VSCode to change all Dart/Flutter imports to relative format.
https://github.com/bluefireteam/vscode-dart-import
dart flutter hacktoberfest import plugin vscode
Last synced: 5 days ago
JSON representation
A simple plugin for VSCode to change all Dart/Flutter imports to relative format.
- Host: GitHub
- URL: https://github.com/bluefireteam/vscode-dart-import
- Owner: bluefireteam
- Created: 2018-07-02T13:48:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T20:30:37.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T13:44:30.010Z (16 days ago)
- Topics: dart, flutter, hacktoberfest, import, plugin, vscode
- Language: TypeScript
- Homepage:
- Size: 177 KB
- Stars: 64
- Watchers: 2
- Forks: 14
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# dart-import
[![CI Status](https://raster.shields.io/github/workflow/status/luanpotter/vscode-dart-import/CI/master)](https://github.com/luanpotter/vscode-dart-import/actions?query=workflow%3ACI)
[![Latest Release](https://raster.shields.io/github/v/release/luanpotter/vscode-dart-import)](https://github.com/luanpotter/vscode-dart-import/releases)A simple plugin for VSCode to change all Dart/Flutter imports to relative format.
Find it on the [VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=luanpotter.dart-import).
## Features
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.
## Contribute
Any help is appreciated! Comment, suggestions, issues, PR's! Give us a star to help!
## Setup
This is a regular vscode extension setup. You can use the scripts in the `package.json` file to test.
To setup, run `npm i` to download dependencies.
Then, you can run `npm test` to run the tests, make sure they are passing.
To test in your machine, run `npm run package` to create a new VSIX file, and then use vscode's built in command `Extensions: Install from VSIX...` (from command palette) to load your version.
In order to deploy, run `npm run deploy`. If your PAT token is expired, go to [this page](https://your_username.visualstudio.com/_usersSettings/tokens) to get a new one.