Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>DartFormatNew to Visual Studio Code? Get it now.
DartFormat

DartFormat

egg 'n stone

|
7,181 installs
| (1) | Free
A formatter for Dart. Like dartfmt. But better ;) Because it's configurable.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DartFormat

A formatter for Dart.

Like dartfmt.
But better ;)
Because it's configurable.

Press Ctrl+Alt+, to format your code.

Please note!
You have to install the dart_format package on pub.dev package to use this extension!
Basically just call this from the command line:
dart pub global activate dart_format

Beta version!
Formatting the currently selected file already works.
Formatting multiple files comes soon.

This extension:
Source code: DartFormatVSCodePlugin on GitHub
Problems and feature requests: GitHub Issues for DartFormatVSCodePlugin

External dart_format package:
Source code: dart_format on GitHub
Problems and feature requests: GitHub Issues for dart_format

Also available as a plugin for JetBrains (Android Studio, IntelliJ IDEA, ...)
DartFormat plugin at the JetBrains Marketplace

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft