/DartFormatVSCodePlugin

Primary LanguageTypeScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

DartFormat

A formatter for Dart.

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

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.
Configuring the formatter 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