dart_style 0.1.3 copy "dart_style: ^0.1.3" to clipboard
dart_style: ^0.1.3 copied to clipboard

outdatedDart 1 only

Opinionated, automatic Dart source code formatter.

0.1.3 #

  • Split different operators with the same precedence equally (#130).
  • No spaces for empty for loop clauses (#132).
  • Don't touch files whose contents did not change (#127).
  • Skip formatting files in hidden directories (#125).
  • Don't include trailing whitespace when preserving selection (#124).
  • Force constructor initialization lists to their own line if the parameter list is split across multiple lines (#151).
  • Allow splitting in index operator calls (#140).
  • Handle sync* and async* syntax (#151).
  • Indent the parameter list more if the body is a wrapped "=>" (#144).

0.1.2 #

  • Move split conditional operators to the beginning of the next line.

0.1.1 #

  • Support formatting enums (#120).
  • Handle Windows line endings in multiline strings (#126).
  • Increase nesting for conditional operators (#122).
101
likes
0
pub points
97%
popularity

Publisher

verified publishertools.dart.dev

Opinionated, automatic Dart source code formatter.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, args, path, source_span

More

Packages that depend on dart_style