Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Fork of the dart_style formatter for Dart source code.

License

Notifications You must be signed in to change notification settings

xnfo-dart/dart_polisher_old

Repository files navigation

MOVED to https://github.com/xnfo-dart/dart_polisher as a fork or the google repo for better tracking and maintenance of changes upstream.

Dart Polisher Formatter Issues

Forked Dart code formatter + CLI + custom styles

  • Customizable indent sizes (tab sizes)
  • Use tab or spaces for indents
  • Additional custom styles
  • CLI for dir/file formatting as the original with added options.

Download

IDE Extensions


Build

If executing on the command line, define a dartMain entry point in js, there is an example here

  • Compile to Executable:
dart run grinder build [--output='name'] #defaults to 'build/dartpolish'
  • Compile to Node.js:
dart run grinder node``` #outputs in 'dist/node/'

Dart code formatter forked from dart_style

License

BSD-3-Clause license

Most of the code is originaly from Dart Authors.