Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Flutter-Auto-ImportNew to Visual Studio Code? Get it now.

Flutter-Auto-Import

davidwoo

|
53,545 installs
| (3) | Free
auto import flutter's package
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

flutter-auto-import

flutter auto import packages extension.

How to work

Run the flutterautoimport command from the Command Palette (⇧⌘P)

Auto Import

Automatically finds files, add import line when your execute the Command Palette (⇧⌘P) and select packages.

Configuration

filesToScan - Glob for which files in your workspace to scan, defaults to '**/*.{dart, d}'

showNotifications - Controls if the annoying notifications should be shown, defaults to false

doubleQuotes - Use double quotes rather than single

spaceBetweenBraces - Difference between import {test} and import { test }

useSemiColon - Use ; at the end of a line e.g Import * from ./app or Import * from ./app; - Default True


Changelog

0.0.1

  • Basic function, auto import select packages import in first line of current edit file .

Todo

  • auto make the imports formal
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft