commit | 4d037b332c30df2b0f1bb718ca98ef9c29c6bed8 | [log] [tgz] |
---|---|---|

author | Bob Nystrom <rnystrom@google.com> | Fri Mar 08 18:13:23 2024 -0800 |

committer | GitHub <noreply@github.com> | Fri Mar 08 18:13:23 2024 -0800 |

tree | 2558596d47b22b8a0040c885c1b908ee15b24e27 | |

parent | a1b49dd0c82280ca0bcf57a4bcc1687b5c118dd9 [diff] |

Reorganize the sources and tests to split out the short and tall files. (#1423) We're going to be supporting both the short and tall styles for at least a couple of Dart releases, so having all of the directories and files for both jumbled together is probably silly. This moves all of the short style test cases under test/short/ and the tall test cases to test/tall/. It takes all of the source files and directories under src/ that are specific the short style and puts them under src/short/. The source files that are used by both styles or only by the tall style stay where they are. There are no other changes (except a couple of tweaks to the test util code since now we can tell whether a test is short or tall style based on the file path).

- benchmark/run.dart[diff]
- bin/format.dart[diff]
- lib/dart_style.dart[diff]
- lib/src/cli/format_command.dart[diff]
- lib/src/cli/formatter_options.dart[diff]
- lib/src/cli/options.dart[diff]
- lib/src/dart_formatter.dart[diff]
- lib/src/debug.dart[diff]
- lib/src/short/argument_list_visitor.dart[Renamed from lib/src/argument_list_visitor.dart - diff]
- lib/src/short/call_chain_visitor.dart[Renamed from lib/src/call_chain_visitor.dart - diff]
- lib/src/short/chunk.dart[Renamed from lib/src/chunk.dart - diff]
- lib/src/short/chunk_builder.dart[Renamed from lib/src/chunk_builder.dart - diff]
- lib/src/short/fast_hash.dart[Renamed from lib/src/fast_hash.dart - diff]
- lib/src/short/line_splitting/line_splitter.dart[Renamed from lib/src/line_splitting/line_splitter.dart - diff]
- lib/src/short/line_splitting/rule_set.dart[Renamed from lib/src/line_splitting/rule_set.dart - diff]
- lib/src/short/line_splitting/solve_state.dart[Renamed from lib/src/line_splitting/solve_state.dart - diff]
- lib/src/short/line_splitting/solve_state_queue.dart[Renamed from lib/src/line_splitting/solve_state_queue.dart - diff]
- lib/src/short/line_writer.dart[Renamed from lib/src/line_writer.dart - diff]
- lib/src/short/marking_scheme.dart[Renamed from lib/src/marking_scheme.dart - diff]
- lib/src/short/nesting_builder.dart[Renamed from lib/src/nesting_builder.dart - diff]
- lib/src/short/nesting_level.dart[Renamed from lib/src/nesting_level.dart - diff]
- lib/src/short/rule/argument.dart[Renamed from lib/src/rule/argument.dart - diff]
- lib/src/short/rule/combinator.dart[Renamed from lib/src/rule/combinator.dart - diff]
- lib/src/short/rule/rule.dart[Renamed from lib/src/rule/rule.dart - diff]
- lib/src/short/rule/type_argument.dart[Renamed from lib/src/rule/type_argument.dart - diff]
- lib/src/short/selection.dart[Renamed from lib/src/selection.dart - diff]
- lib/src/short/source_comment.dart[Renamed from lib/src/source_comment.dart - diff]
- lib/src/short/source_visitor.dart[Renamed from lib/src/source_visitor.dart - diff]
- lib/src/short/style_fix.dart[Renamed from lib/src/style_fix.dart - diff]
- test/README.md[diff]
- test/fix_test.dart[diff]
- test/short/comments/cascades.stmt[Renamed from test/comments/cascades.stmt - diff]
- test/short/comments/classes.unit[Renamed from test/comments/classes.unit - diff]
- test/short/comments/enums.unit[Renamed from test/comments/enums.unit - diff]
- test/short/comments/expressions.stmt[Renamed from test/comments/expressions.stmt - diff]
- test/short/comments/extensions.unit[Renamed from test/comments/extensions.unit - diff]
- test/short/comments/functions.unit[Renamed from test/comments/functions.unit - diff]
- test/short/comments/generic_methods.unit[Renamed from test/comments/generic_methods.unit - diff]
- test/short/comments/lists.stmt[Renamed from test/comments/lists.stmt - diff]
- test/short/comments/maps.stmt[Renamed from test/comments/maps.stmt - diff]
- test/short/comments/mixed.unit[Renamed from test/comments/mixed.unit - diff]
- test/short/comments/patterns.stmt[Renamed from test/comments/patterns.stmt - diff]
- test/short/comments/records.stmt[Renamed from test/comments/records.stmt - diff]
- test/short/comments/sets.stmt[Renamed from test/comments/sets.stmt - diff]
- test/short/comments/statements.stmt[Renamed from test/comments/statements.stmt - diff]
- test/short/comments/switch.stmt[Renamed from test/comments/switch.stmt - diff]
- test/short/comments/top_level.unit[Renamed from test/comments/top_level.unit - diff]
- test/short/comments/variables.stmt[Renamed from test/comments/variables.stmt - diff]
- test/short/fixes/doc_comments.stmt[Renamed from test/fixes/doc_comments.stmt - diff]
- test/short/fixes/function_typedefs.unit[Renamed from test/fixes/function_typedefs.unit - diff]
- test/short/fixes/named_default_separator.unit[Renamed from test/fixes/named_default_separator.unit - diff]
- test/short/fixes/optional_const.unit[Renamed from test/fixes/optional_const.unit - diff]
- test/short/fixes/optional_new.stmt[Renamed from test/fixes/optional_new.stmt - diff]
- test/short/fixes/single_cascade_statements.stmt[Renamed from test/fixes/single_cascade_statements.stmt - diff]
- test/short/regression/0000/0000.stmt[Renamed from test/regression/0000/0000.stmt - diff]
- test/short/regression/0000/0005.stmt[Renamed from test/regression/0000/0005.stmt - diff]
- test/short/regression/0000/0006.stmt[Renamed from test/regression/0000/0006.stmt - diff]
- test/short/regression/0000/0009.unit[Renamed from test/regression/0000/0009.unit - diff]
- test/short/regression/0000/0013.unit[Renamed from test/regression/0000/0013.unit - diff]
- test/short/regression/0000/0014.unit[Renamed from test/regression/0000/0014.unit - diff]
- test/short/regression/0000/0019.stmt[Renamed from test/regression/0000/0019.stmt - diff]
- test/short/regression/0000/0021.stmt[Renamed from test/regression/0000/0021.stmt - diff]
- test/short/regression/0000/0022.stmt[Renamed from test/regression/0000/0022.stmt - diff]
- test/short/regression/0000/0023.stmt[Renamed from test/regression/0000/0023.stmt - diff]
- test/short/regression/0000/0025.stmt[Renamed from test/regression/0000/0025.stmt - diff]
- test/short/regression/0000/0026.stmt[Renamed from test/regression/0000/0026.stmt - diff]
- test/short/regression/0000/0027.stmt[Renamed from test/regression/0000/0027.stmt - diff]
- test/short/regression/0000/0028.unit[Renamed from test/regression/0000/0028.unit - diff]
- test/short/regression/0000/0029.stmt[Renamed from test/regression/0000/0029.stmt - diff]
- test/short/regression/0000/0031.stmt[Renamed from test/regression/0000/0031.stmt - diff]
- test/short/regression/0000/0033.stmt[Renamed from test/regression/0000/0033.stmt - diff]
- test/short/regression/0000/0036.unit[Renamed from test/regression/0000/0036.unit - diff]
- test/short/regression/0000/0037.stmt[Renamed from test/regression/0000/0037.stmt - diff]
- test/short/regression/0000/0038.stmt[Renamed from test/regression/0000/0038.stmt - diff]
- test/short/regression/0000/0039.stmt[Renamed from test/regression/0000/0039.stmt - diff]
- test/short/regression/0000/0040.stmt[Renamed from test/regression/0000/0040.stmt - diff]
- test/short/regression/0000/0041.stmt[Renamed from test/regression/0000/0041.stmt - diff]
- test/short/regression/0000/0042.unit[Renamed from test/regression/0000/0042.unit - diff]
- test/short/regression/0000/0043.stmt[Renamed from test/regression/0000/0043.stmt - diff]
- test/short/regression/0000/0044.stmt[Renamed from test/regression/0000/0044.stmt - diff]
- test/short/regression/0000/0045.stmt[Renamed from test/regression/0000/0045.stmt - diff]
- test/short/regression/0000/0046.stmt[Renamed from test/regression/0000/0046.stmt - diff]
- test/short/regression/0000/0047.unit[Renamed from test/regression/0000/0047.unit - diff]
- test/short/regression/0000/0049.stmt[Renamed from test/regression/0000/0049.stmt - diff]
- test/short/regression/0000/0050.stmt[Renamed from test/regression/0000/0050.stmt - diff]
- test/short/regression/0000/0054.stmt[Renamed from test/regression/0000/0054.stmt - diff]
- test/short/regression/0000/0055.unit[Renamed from test/regression/0000/0055.unit - diff]
- test/short/regression/0000/0056.stmt[Renamed from test/regression/0000/0056.stmt - diff]
- test/short/regression/0000/0057.stmt[Renamed from test/regression/0000/0057.stmt - diff]
- test/short/regression/0000/0058.unit[Renamed from test/regression/0000/0058.unit - diff]
- test/short/regression/0000/0060.stmt[Renamed from test/regression/0000/0060.stmt - diff]
- test/short/regression/0000/0061.unit[Renamed from test/regression/0000/0061.unit - diff]
- test/short/regression/0000/0066.stmt[Renamed from test/regression/0000/0066.stmt - diff]
- test/short/regression/0000/0068.stmt[Renamed from test/regression/0000/0068.stmt - diff]
- test/short/regression/0000/0069.stmt[Renamed from test/regression/0000/0069.stmt - diff]
- test/short/regression/0000/0070.stmt[Renamed from test/regression/0000/0070.stmt - diff]
- test/short/regression/0000/0071.unit[Renamed from test/regression/0000/0071.unit - diff]
- test/short/regression/0000/0072.unit[Renamed from test/regression/0000/0072.unit - diff]
- test/short/regression/0000/0075.unit[Renamed from test/regression/0000/0075.unit - diff]
- test/short/regression/0000/0076.unit[Renamed from test/regression/0000/0076.unit - diff]
- test/short/regression/0000/0077.stmt[Renamed from test/regression/0000/0077.stmt - diff]
- test/short/regression/0000/0080.unit[Renamed from test/regression/0000/0080.unit - diff]
- test/short/regression/0000/0081.unit[Renamed from test/regression/0000/0081.unit - diff]
- test/short/regression/0000/0082.stmt[Renamed from test/regression/0000/0082.stmt - diff]
- test/short/regression/0000/0083.unit[Renamed from test/regression/0000/0083.unit - diff]
- test/short/regression/0000/0084.unit[Renamed from test/regression/0000/0084.unit - diff]
- test/short/regression/0000/0085.unit[Renamed from test/regression/0000/0085.unit - diff]
- test/short/regression/0000/0086.unit[Renamed from test/regression/0000/0086.unit - diff]
- test/short/regression/0000/0087.unit[Renamed from test/regression/0000/0087.unit - diff]
- test/short/regression/0000/0089.unit[Renamed from test/regression/0000/0089.unit - diff]
- test/short/regression/0000/0090.stmt[Renamed from test/regression/0000/0090.stmt - diff]
- test/short/regression/0000/0091.stmt[Renamed from test/regression/0000/0091.stmt - diff]
- test/short/regression/0000/0095.unit[Renamed from test/regression/0000/0095.unit - diff]
- test/short/regression/0000/0096.unit[Renamed from test/regression/0000/0096.unit - diff]
- test/short/regression/0000/0098.stmt[Renamed from test/regression/0000/0098.stmt - diff]
- test/short/regression/0000/0099.stmt[Renamed from test/regression/0000/0099.stmt - diff]
- test/short/regression/0100/0100.stmt[Renamed from test/regression/0100/0100.stmt - diff]
- test/short/regression/0100/0102.stmt[Renamed from test/regression/0100/0102.stmt - diff]
- test/short/regression/0100/0108.unit[Renamed from test/regression/0100/0108.unit - diff]
- test/short/regression/0100/0109.unit[Renamed from test/regression/0100/0109.unit - diff]
- test/short/regression/0100/0110.stmt[Renamed from test/regression/0100/0110.stmt - diff]
- test/short/regression/0100/0111.unit[Renamed from test/regression/0100/0111.unit - diff]
- test/short/regression/0100/0112.stmt[Renamed from test/regression/0100/0112.stmt - diff]
- test/short/regression/0100/0113.unit[Renamed from test/regression/0100/0113.unit - diff]
- test/short/regression/0100/0114.unit[Renamed from test/regression/0100/0114.unit - diff]
- test/short/regression/0100/0115.stmt[Renamed from test/regression/0100/0115.stmt - diff]
- test/short/regression/0100/0119.stmt[Renamed from test/regression/0100/0119.stmt - diff]
- test/short/regression/0100/0121.stmt[Renamed from test/regression/0100/0121.stmt - diff]
- test/short/regression/0100/0122.unit[Renamed from test/regression/0100/0122.unit - diff]
- test/short/regression/0100/0130.unit[Renamed from test/regression/0100/0130.unit - diff]
- test/short/regression/0100/0132.stmt[Renamed from test/regression/0100/0132.stmt - diff]
- test/short/regression/0100/0135.stmt[Renamed from test/regression/0100/0135.stmt - diff]
- test/short/regression/0100/0137.stmt[Renamed from test/regression/0100/0137.stmt - diff]
- test/short/regression/0100/0139.unit[Renamed from test/regression/0100/0139.unit - diff]
- test/short/regression/0100/0140.stmt[Renamed from test/regression/0100/0140.stmt - diff]
- test/short/regression/0100/0141.unit[Renamed from test/regression/0100/0141.unit - diff]
- test/short/regression/0100/0142.stmt[Renamed from test/regression/0100/0142.stmt - diff]
- test/short/regression/0100/0144.unit[Renamed from test/regression/0100/0144.unit - diff]
- test/short/regression/0100/0146.unit[Renamed from test/regression/0100/0146.unit - diff]
- test/short/regression/0100/0151.unit[Renamed from test/regression/0100/0151.unit - diff]
- test/short/regression/0100/0152.unit[Renamed from test/regression/0100/0152.unit - diff]
- test/short/regression/0100/0154.stmt[Renamed from test/regression/0100/0154.stmt - diff]
- test/short/regression/0100/0155.stmt[Renamed from test/regression/0100/0155.stmt - diff]
- test/short/regression/0100/0156.unit[Renamed from test/regression/0100/0156.unit - diff]
- test/short/regression/0100/0158.unit[Renamed from test/regression/0100/0158.unit - diff]
- test/short/regression/0100/0161.stmt[Renamed from test/regression/0100/0161.stmt - diff]
- test/short/regression/0100/0162.stmt[Renamed from test/regression/0100/0162.stmt - diff]
- test/short/regression/0100/0168.unit[Renamed from test/regression/0100/0168.unit - diff]
- test/short/regression/0100/0170.unit[Renamed from test/regression/0100/0170.unit - diff]
- test/short/regression/0100/0171.unit[Renamed from test/regression/0100/0171.unit - diff]
- test/short/regression/0100/0176.unit[Renamed from test/regression/0100/0176.unit - diff]
- test/short/regression/0100/0177.stmt[Renamed from test/regression/0100/0177.stmt - diff]
- test/short/regression/0100/0178.unit[Renamed from test/regression/0100/0178.unit - diff]
- test/short/regression/0100/0184.unit[Renamed from test/regression/0100/0184.unit - diff]
- test/short/regression/0100/0185.stmt[Renamed from test/regression/0100/0185.stmt - diff]
- test/short/regression/0100/0186.stmt[Renamed from test/regression/0100/0186.stmt - diff]
- test/short/regression/0100/0187.stmt[Renamed from test/regression/0100/0187.stmt - diff]
- test/short/regression/0100/0189.stmt[Renamed from test/regression/0100/0189.stmt - diff]
- test/short/regression/0100/0192.unit[Renamed from test/regression/0100/0192.unit - diff]
- test/short/regression/0100/0197.unit[Renamed from test/regression/0100/0197.unit - diff]
- test/short/regression/0100/0198.stmt[Renamed from test/regression/0100/0198.stmt - diff]
- test/short/regression/0100/0199.stmt[Renamed from test/regression/0100/0199.stmt - diff]
- test/short/regression/0200/0200.stmt[Renamed from test/regression/0200/0200.stmt - diff]
- test/short/regression/0200/0201.stmt[Renamed from test/regression/0200/0201.stmt - diff]
- test/short/regression/0200/0203.stmt[Renamed from test/regression/0200/0203.stmt - diff]
- test/short/regression/0200/0204.stmt[Renamed from test/regression/0200/0204.stmt - diff]
- test/short/regression/0200/0205.stmt[Renamed from test/regression/0200/0205.stmt - diff]
- test/short/regression/0200/0206.stmt[Renamed from test/regression/0200/0206.stmt - diff]
- test/short/regression/0200/0211.unit[Renamed from test/regression/0200/0211.unit - diff]
- test/short/regression/0200/0212.stmt[Renamed from test/regression/0200/0212.stmt - diff]
- test/short/regression/0200/0217.stmt[Renamed from test/regression/0200/0217.stmt - diff]
- test/short/regression/0200/0218.stmt[Renamed from test/regression/0200/0218.stmt - diff]
- test/short/regression/0200/0221.unit[Renamed from test/regression/0200/0221.unit - diff]
- test/short/regression/0200/0222.stmt[Renamed from test/regression/0200/0222.stmt - diff]
- test/short/regression/0200/0223.stmt[Renamed from test/regression/0200/0223.stmt - diff]
- test/short/regression/0200/0224.stmt[Renamed from test/regression/0200/0224.stmt - diff]
- test/short/regression/0200/0226.stmt[Renamed from test/regression/0200/0226.stmt - diff]
- test/short/regression/0200/0228.unit[Renamed from test/regression/0200/0228.unit - diff]
- test/short/regression/0200/0229.unit[Renamed from test/regression/0200/0229.unit - diff]
- test/short/regression/0200/0232.unit[Renamed from test/regression/0200/0232.unit - diff]
- test/short/regression/0200/0235.unit[Renamed from test/regression/0200/0235.unit - diff]
- test/short/regression/0200/0236.unit[Renamed from test/regression/0200/0236.unit - diff]
- test/short/regression/0200/0237.unit[Renamed from test/regression/0200/0237.unit - diff]
- test/short/regression/0200/0238.unit[Renamed from test/regression/0200/0238.unit - diff]
- test/short/regression/0200/0241.unit[Renamed from test/regression/0200/0241.unit - diff]
- test/short/regression/0200/0242.unit[Renamed from test/regression/0200/0242.unit - diff]
- test/short/regression/0200/0243.stmt[Renamed from test/regression/0200/0243.stmt - diff]
- test/short/regression/0200/0247.unit[Renamed from test/regression/0200/0247.unit - diff]
- test/short/regression/0200/0249.stmt[Renamed from test/regression/0200/0249.stmt - diff]
- test/short/regression/0200/0250.unit[Renamed from test/regression/0200/0250.unit - diff]
- test/short/regression/0200/0255.stmt[Renamed from test/regression/0200/0255.stmt - diff]
- test/short/regression/0200/0256.unit[Renamed from test/regression/0200/0256.unit - diff]
- test/short/regression/0200/0257.unit[Renamed from test/regression/0200/0257.unit - diff]
- test/short/regression/0200/0258.unit[Renamed from test/regression/0200/0258.unit - diff]
- test/short/regression/0200/0259.unit[Renamed from test/regression/0200/0259.unit - diff]
- test/short/regression/0300/0357.stmt[Renamed from test/regression/0300/0357.stmt - diff]
- test/short/regression/0300/0360.stmt[Renamed from test/regression/0300/0360.stmt - diff]
- test/short/regression/0300/0361.unit[Renamed from test/regression/0300/0361.unit - diff]
- test/short/regression/0300/0364.unit[Renamed from test/regression/0300/0364.unit - diff]
- test/short/regression/0300/0366.stmt[Renamed from test/regression/0300/0366.stmt - diff]
- test/short/regression/0300/0367.stmt[Renamed from test/regression/0300/0367.stmt - diff]
- test/short/regression/0300/0368.unit[Renamed from test/regression/0300/0368.unit - diff]
- test/short/regression/0300/0369.stmt[Renamed from test/regression/0300/0369.stmt - diff]
- test/short/regression/0300/0370.stmt[Renamed from test/regression/0300/0370.stmt - diff]
- test/short/regression/0300/0373.unit[Renamed from test/regression/0300/0373.unit - diff]
- test/short/regression/0300/0374.stmt[Renamed from test/regression/0300/0374.stmt - diff]
- test/short/regression/0300/0375.stmt[Renamed from test/regression/0300/0375.stmt - diff]
- test/short/regression/0300/0377.stmt[Renamed from test/regression/0300/0377.stmt - diff]
- test/short/regression/0300/0378.stmt[Renamed from test/regression/0300/0378.stmt - diff]
- test/short/regression/0300/0379.stmt[Renamed from test/regression/0300/0379.stmt - diff]
- test/short/regression/0300/0380.unit[Renamed from test/regression/0300/0380.unit - diff]
- test/short/regression/0300/0381.unit[Renamed from test/regression/0300/0381.unit - diff]
- test/short/regression/0300/0383.unit[Renamed from test/regression/0300/0383.unit - diff]
- test/short/regression/0300/0384.stmt[Renamed from test/regression/0300/0384.stmt - diff]
- test/short/regression/0300/0387.unit[Renamed from test/regression/0300/0387.unit - diff]
- test/short/regression/0300/0388.unit[Renamed from test/regression/0300/0388.unit - diff]
- test/short/regression/0300/0389.unit[Renamed from test/regression/0300/0389.unit - diff]
- test/short/regression/0300/0391.stmt[Renamed from test/regression/0300/0391.stmt - diff]
- test/short/regression/0300/0394.stmt[Renamed from test/regression/0300/0394.stmt - diff]
- test/short/regression/0300/0398.stmt[Renamed from test/regression/0300/0398.stmt - diff]
- test/short/regression/0300/0399.unit[Renamed from test/regression/0300/0399.unit - diff]
- test/short/regression/0400/0404.stmt[Renamed from test/regression/0400/0404.stmt - diff]
- test/short/regression/0400/0407.unit[Renamed from test/regression/0400/0407.unit - diff]
- test/short/regression/0400/0410.stmt[Renamed from test/regression/0400/0410.stmt - diff]
- test/short/regression/0400/0413.unit[Renamed from test/regression/0400/0413.unit - diff]
- test/short/regression/0400/0420.unit[Renamed from test/regression/0400/0420.unit - diff]
- test/short/regression/0400/0421.unit[Renamed from test/regression/0400/0421.unit - diff]
- test/short/regression/0400/0422.unit[Renamed from test/regression/0400/0422.unit - diff]
- test/short/regression/0400/0424.stmt[Renamed from test/regression/0400/0424.stmt - diff]
- test/short/regression/0400/0429.stmt[Renamed from test/regression/0400/0429.stmt - diff]
- test/short/regression/0400/0434.unit[Renamed from test/regression/0400/0434.unit - diff]
- test/short/regression/0400/0436.unit[Renamed from test/regression/0400/0436.unit - diff]
- test/short/regression/0400/0437.unit[Renamed from test/regression/0400/0437.unit - diff]
- test/short/regression/0400/0438.stmt[Renamed from test/regression/0400/0438.stmt - diff]
- test/short/regression/0400/0439.stmt[Renamed from test/regression/0400/0439.stmt - diff]
- test/short/regression/0400/0441.unit[Renamed from test/regression/0400/0441.unit - diff]
- test/short/regression/0400/0443.unit[Renamed from test/regression/0400/0443.unit - diff]
- test/short/regression/0400/0444.unit[Renamed from test/regression/0400/0444.unit - diff]
- test/short/regression/0400/0448.stmt[Renamed from test/regression/0400/0448.stmt - diff]
- test/short/regression/0400/0449.stmt[Renamed from test/regression/0400/0449.stmt - diff]
- test/short/regression/0400/0454.unit[Renamed from test/regression/0400/0454.unit - diff]
- test/short/regression/0400/0461.stmt[Renamed from test/regression/0400/0461.stmt - diff]
- test/short/regression/0400/0462.unit[Renamed from test/regression/0400/0462.unit - diff]
- test/short/regression/0400/0463.unit[Renamed from test/regression/0400/0463.unit - diff]
- test/short/regression/0400/0465.stmt[Renamed from test/regression/0400/0465.stmt - diff]
- test/short/regression/0400/0466.unit[Renamed from test/regression/0400/0466.unit - diff]
- test/short/regression/0400/0467.unit[Renamed from test/regression/0400/0467.unit - diff]
- test/short/regression/0400/0474.unit[Renamed from test/regression/0400/0474.unit - diff]
- test/short/regression/0400/0475.unit[Renamed from test/regression/0400/0475.unit - diff]
- test/short/regression/0400/0478.stmt[Renamed from test/regression/0400/0478.stmt - diff]
- test/short/regression/0400/0479.stmt[Renamed from test/regression/0400/0479.stmt - diff]
- test/short/regression/0400/0480.unit[Renamed from test/regression/0400/0480.unit - diff]
- test/short/regression/0400/0481.unit[Renamed from test/regression/0400/0481.unit - diff]
- test/short/regression/0400/0484.stmt[Renamed from test/regression/0400/0484.stmt - diff]
- test/short/regression/0400/0488.stmt[Renamed from test/regression/0400/0488.stmt - diff]
- test/short/regression/0400/0489.stmt[Renamed from test/regression/0400/0489.stmt - diff]
- test/short/regression/0400/0494.unit[Renamed from test/regression/0400/0494.unit - diff]
- test/short/regression/0400/0497.unit[Renamed from test/regression/0400/0497.unit - diff]
- test/short/regression/0500/0500.unit[Renamed from test/regression/0500/0500.unit - diff]
- test/short/regression/0500/0503.unit[Renamed from test/regression/0500/0503.unit - diff]
- test/short/regression/0500/0506.unit[Renamed from test/regression/0500/0506.unit - diff]
- test/short/regression/0500/0511.unit[Renamed from test/regression/0500/0511.unit - diff]
- test/short/regression/0500/0513.unit[Renamed from test/regression/0500/0513.unit - diff]
- test/short/regression/0500/0514.unit[Renamed from test/regression/0500/0514.unit - diff]
- test/short/regression/0500/0519.stmt[Renamed from test/regression/0500/0519.stmt - diff]
- test/short/regression/0500/0520.unit[Renamed from test/regression/0500/0520.unit - diff]
- test/short/regression/0500/0527.stmt[Renamed from test/regression/0500/0527.stmt - diff]
- test/short/regression/0500/0529.unit[Renamed from test/regression/0500/0529.unit - diff]
- test/short/regression/0500/0541.unit[Renamed from test/regression/0500/0541.unit - diff]
- test/short/regression/0500/0543.unit[Renamed from test/regression/0500/0543.unit - diff]
- test/short/regression/0500/0548.stmt[Renamed from test/regression/0500/0548.stmt - diff]
- test/short/regression/0500/0566.unit[Renamed from test/regression/0500/0566.unit - diff]
- test/short/regression/0500/0571.unit[Renamed from test/regression/0500/0571.unit - diff]
- test/short/regression/0500/0582.unit[Renamed from test/regression/0500/0582.unit - diff]
- test/short/regression/0500/0584.unit[Renamed from test/regression/0500/0584.unit - diff]
- test/short/regression/0500/0585.unit[Renamed from test/regression/0500/0585.unit - diff]
- test/short/regression/0500/0589.unit[Renamed from test/regression/0500/0589.unit - diff]
- test/short/regression/0500/0591.unit[Renamed from test/regression/0500/0591.unit - diff]
- test/short/regression/0600/0606.unit[Renamed from test/regression/0600/0606.unit - diff]
- test/short/regression/0600/0613.unit[Renamed from test/regression/0600/0613.unit - diff]
- test/short/regression/0600/0616.unit[Renamed from test/regression/0600/0616.unit - diff]
- test/short/regression/0600/0619.unit[Renamed from test/regression/0600/0619.unit - diff]
- test/short/regression/0600/0621.stmt[Renamed from test/regression/0600/0621.stmt - diff]
- test/short/regression/0600/0648.stmt[Renamed from test/regression/0600/0648.stmt - diff]
- test/short/regression/0600/0658.unit[Renamed from test/regression/0600/0658.unit - diff]
- test/short/regression/0600/0665.stmt[Renamed from test/regression/0600/0665.stmt - diff]
- test/short/regression/0600/0680.stmt[Renamed from test/regression/0600/0680.stmt - diff]
- test/short/regression/0700/0704.unit[Renamed from test/regression/0700/0704.unit - diff]
- test/short/regression/0700/0705.stmt[Renamed from test/regression/0700/0705.stmt - diff]
- test/short/regression/0700/0707.stmt[Renamed from test/regression/0700/0707.stmt - diff]
- test/short/regression/0700/0711.stmt[Renamed from test/regression/0700/0711.stmt - diff]
- test/short/regression/0700/0713.stmt[Renamed from test/regression/0700/0713.stmt - diff]
- test/short/regression/0700/0720.unit[Renamed from test/regression/0700/0720.unit - diff]
- test/short/regression/0700/0722.stmt[Renamed from test/regression/0700/0722.stmt - diff]
- test/short/regression/0700/0782.unit[Renamed from test/regression/0700/0782.unit - diff]
- test/short/regression/0700/0799.unit[Renamed from test/regression/0700/0799.unit - diff]
- test/short/regression/0800/0802.unit[Renamed from test/regression/0800/0802.unit - diff]
- test/short/regression/0800/0831.unit[Renamed from test/regression/0800/0831.unit - diff]
- test/short/regression/0800/0837.unit[Renamed from test/regression/0800/0837.unit - diff]
- test/short/regression/0800/0855.unit[Renamed from test/regression/0800/0855.unit - diff]
- test/short/regression/0800/0862.unit[Renamed from test/regression/0800/0862.unit - diff]
- test/short/regression/0800/0869.stmt[Renamed from test/regression/0800/0869.stmt - diff]
- test/short/regression/0800/0881.unit[Renamed from test/regression/0800/0881.unit - diff]
- test/short/regression/0800/0888.unit[Renamed from test/regression/0800/0888.unit - diff]
- test/short/regression/0900/0900.stmt[Renamed from test/regression/0900/0900.stmt - diff]
- test/short/regression/0900/0927.unit[Renamed from test/regression/0900/0927.unit - diff]
- test/short/regression/0900/0960.unit[Renamed from test/regression/0900/0960.unit - diff]
- test/short/regression/0900/0966.stmt[Renamed from test/regression/0900/0966.stmt - diff]
- test/short/regression/1000/1010.unit[Renamed from test/regression/1000/1010.unit - diff]
- test/short/regression/1000/1029.unit[Renamed from test/regression/1000/1029.unit - diff]
- test/short/regression/1100/1181.stmt[Renamed from test/regression/1100/1181.stmt - diff]
- test/short/regression/1100/1190.unit[Renamed from test/regression/1100/1190.unit - diff]
- test/short/regression/1100/1197.unit[Renamed from test/regression/1100/1197.unit - diff]
- test/short/regression/1100/1198.stmt[Renamed from test/regression/1100/1198.stmt - diff]
- test/short/regression/1200/1205.stmt[Renamed from test/regression/1200/1205.stmt - diff]
- test/short/regression/1200/1212.unit[Renamed from test/regression/1200/1212.unit - diff]
- test/short/regression/1200/1213.unit[Renamed from test/regression/1200/1213.unit - diff]
- test/short/regression/1200/1215.stmt[Renamed from test/regression/1200/1215.stmt - diff]
- test/short/regression/1200/1249.unit[Renamed from test/regression/1200/1249.unit - diff]
- test/short/regression/1200/1254.unit[Renamed from test/regression/1200/1254.unit - diff]
- test/short/regression/1400/1404.stmt[Renamed from test/regression/1400/1404.stmt - diff]
- test/short/regression/other/analysis_server.unit[Renamed from test/regression/other/analysis_server.unit - diff]
- test/short/regression/other/analyzer.unit[Renamed from test/regression/other/analyzer.unit - diff]
- test/short/regression/other/angular.unit[Renamed from test/regression/other/angular.unit - diff]
- test/short/regression/other/block_comment.unit[Renamed from test/regression/other/block_comment.unit - diff]
- test/short/regression/other/cascades.unit[Renamed from test/regression/other/cascades.unit - diff]
- test/short/regression/other/chains.stmt[Renamed from test/regression/other/chains.stmt - diff]
- test/short/regression/other/chunk_refactor.unit[Renamed from test/regression/other/chunk_refactor.unit - diff]
- test/short/regression/other/dart2js.unit[Renamed from test/regression/other/dart2js.unit - diff]
- test/short/regression/other/enhanced_enum.unit[Renamed from test/regression/other/enhanced_enum.unit - diff]
- test/short/regression/other/flutter.unit[Renamed from test/regression/other/flutter.unit - diff]
- test/short/regression/other/misc.unit[Renamed from test/regression/other/misc.unit - diff]
- test/short/regression/other/null_safety.unit[Renamed from test/regression/other/null_safety.unit - diff]
- test/short/regression/other/pkg.stmt[Renamed from test/regression/other/pkg.stmt - diff]
- test/short/regression/other/pkg.unit[Renamed from test/regression/other/pkg.unit - diff]
- test/short/regression/other/pub.stmt[Renamed from test/regression/other/pub.stmt - diff]
- test/short/selections/selections.stmt[Renamed from test/selections/selections.stmt - diff]
- test/short/selections/selections.unit[Renamed from test/selections/selections.unit - diff]
- test/short/splitting/annotations.unit[Renamed from test/splitting/annotations.unit - diff]
- test/short/splitting/arguments.stmt[Renamed from test/splitting/arguments.stmt - diff]
- test/short/splitting/arrows.stmt[Renamed from test/splitting/arrows.stmt - diff]
- test/short/splitting/arrows.unit[Renamed from test/splitting/arrows.unit - diff]
- test/short/splitting/assignments.stmt[Renamed from test/splitting/assignments.stmt - diff]
- test/short/splitting/classes.unit[Renamed from test/splitting/classes.unit - diff]
- test/short/splitting/constructors.unit[Renamed from test/splitting/constructors.unit - diff]
- test/short/splitting/enums.unit[Renamed from test/splitting/enums.unit - diff]
- test/short/splitting/exports.unit[Renamed from test/splitting/exports.unit - diff]
- test/short/splitting/expressions.stmt[Renamed from test/splitting/expressions.stmt - diff]
- test/short/splitting/extensions.unit[Renamed from test/splitting/extensions.unit - diff]
- test/short/splitting/function_arguments.stmt[Renamed from test/splitting/function_arguments.stmt - diff]
- test/short/splitting/function_types.unit[Renamed from test/splitting/function_types.unit - diff]
- test/short/splitting/generic_method_arguments.stmt[Renamed from test/splitting/generic_method_arguments.stmt - diff]
- test/short/splitting/generic_method_parameters.unit[Renamed from test/splitting/generic_method_parameters.unit - diff]
- test/short/splitting/if_case.stmt[Renamed from test/splitting/if_case.stmt - diff]
- test/short/splitting/imports.unit[Renamed from test/splitting/imports.unit - diff]
- test/short/splitting/invocations.stmt[Renamed from test/splitting/invocations.stmt - diff]
- test/short/splitting/list_arguments.stmt[Renamed from test/splitting/list_arguments.stmt - diff]
- test/short/splitting/list_collection_for.stmt[Renamed from test/splitting/list_collection_for.stmt - diff]
- test/short/splitting/list_collection_if.stmt[Renamed from test/splitting/list_collection_if.stmt - diff]
- test/short/splitting/lists.stmt[Renamed from test/splitting/lists.stmt - diff]
- test/short/splitting/loops.stmt[Renamed from test/splitting/loops.stmt - diff]
- test/short/splitting/map_arguments.stmt[Renamed from test/splitting/map_arguments.stmt - diff]
- test/short/splitting/map_collection_for.stmt[Renamed from test/splitting/map_collection_for.stmt - diff]
- test/short/splitting/map_collection_if.stmt[Renamed from test/splitting/map_collection_if.stmt - diff]
- test/short/splitting/maps.stmt[Renamed from test/splitting/maps.stmt - diff]
- test/short/splitting/members.unit[Renamed from test/splitting/members.unit - diff]
- test/short/splitting/metadata.stmt[Renamed from test/splitting/metadata.stmt - diff]
- test/short/splitting/mixed.stmt[Renamed from test/splitting/mixed.stmt - diff]
- test/short/splitting/mixins.unit[Renamed from test/splitting/mixins.unit - diff]
- test/short/splitting/parameters.stmt[Renamed from test/splitting/parameters.stmt - diff]
- test/short/splitting/parameters.unit[Renamed from test/splitting/parameters.unit - diff]
- test/short/splitting/part.unit[Renamed from test/splitting/part.unit - diff]
- test/short/splitting/patterns.stmt[Renamed from test/splitting/patterns.stmt - diff]
- test/short/splitting/record_types.unit[Renamed from test/splitting/record_types.unit - diff]
- test/short/splitting/records.stmt[Renamed from test/splitting/records.stmt - diff]
- test/short/splitting/set_collection_for.stmt[Renamed from test/splitting/set_collection_for.stmt - diff]
- test/short/splitting/set_collection_if.stmt[Renamed from test/splitting/set_collection_if.stmt - diff]
- test/short/splitting/sets.stmt[Renamed from test/splitting/sets.stmt - diff]
- test/short/splitting/statements.stmt[Renamed from test/splitting/statements.stmt - diff]
- test/short/splitting/strings.stmt[Renamed from test/splitting/strings.stmt - diff]
- test/short/splitting/switch.stmt[Renamed from test/splitting/switch.stmt - diff]
- test/short/splitting/switch_expression.stmt[Renamed from test/splitting/switch_expression.stmt - diff]
- test/short/splitting/type_arguments.stmt[Renamed from test/splitting/type_arguments.stmt - diff]
- test/short/splitting/type_parameters.unit[Renamed from test/splitting/type_parameters.unit - diff]
- test/short/splitting/typedef.unit[Renamed from test/splitting/typedef.unit - diff]
- test/short/splitting/variables.stmt[Renamed from test/splitting/variables.stmt - diff]
- test/short/whitespace/adjacent_strings.stmt[Renamed from test/whitespace/adjacent_strings.stmt - diff]
- test/short/whitespace/blocks.stmt[Renamed from test/whitespace/blocks.stmt - diff]
- test/short/whitespace/cascades.stmt[Renamed from test/whitespace/cascades.stmt - diff]
- test/short/whitespace/classes.unit[Renamed from test/whitespace/classes.unit - diff]
- test/short/whitespace/collections.stmt[Renamed from test/whitespace/collections.stmt - diff]
- test/short/whitespace/compilation_unit.unit[Renamed from test/whitespace/compilation_unit.unit - diff]
- test/short/whitespace/constructors.unit[Renamed from test/whitespace/constructors.unit - diff]
- test/short/whitespace/directives.unit[Renamed from test/whitespace/directives.unit - diff]
- test/short/whitespace/do.stmt[Renamed from test/whitespace/do.stmt - diff]
- test/short/whitespace/enums.unit[Renamed from test/whitespace/enums.unit - diff]
- test/short/whitespace/expressions.stmt[Renamed from test/whitespace/expressions.stmt - diff]
- test/short/whitespace/extension_types.unit[Renamed from test/whitespace/extension_types.unit - diff]
- test/short/whitespace/extensions.unit[Renamed from test/whitespace/extensions.unit - diff]
- test/short/whitespace/external.unit[Renamed from test/whitespace/external.unit - diff]
- test/short/whitespace/for.stmt[Renamed from test/whitespace/for.stmt - diff]
- test/short/whitespace/function_types.unit[Renamed from test/whitespace/function_types.unit - diff]
- test/short/whitespace/functions.unit[Renamed from test/whitespace/functions.unit - diff]
- test/short/whitespace/if.stmt[Renamed from test/whitespace/if.stmt - diff]
- test/short/whitespace/metadata.unit[Renamed from test/whitespace/metadata.unit - diff]
- test/short/whitespace/methods.unit[Renamed from test/whitespace/methods.unit - diff]
- test/short/whitespace/mixins.unit[Renamed from test/whitespace/mixins.unit - diff]
- test/short/whitespace/multiline_string_first_list.stmt[Renamed from test/whitespace/multiline_string_first_list.stmt - diff]
- test/short/whitespace/native.unit[Renamed from test/whitespace/native.unit - diff]
- test/short/whitespace/patterns.stmt[Renamed from test/whitespace/patterns.stmt - diff]
- test/short/whitespace/record_types.unit[Renamed from test/whitespace/record_types.unit - diff]
- test/short/whitespace/script.unit[Renamed from test/whitespace/script.unit - diff]
- test/short/whitespace/statements.stmt[Renamed from test/whitespace/statements.stmt - diff]
- test/short/whitespace/strings.stmt[Renamed from test/whitespace/strings.stmt - diff]
- test/short/whitespace/switch.stmt[Renamed from test/whitespace/switch.stmt - diff]
- test/short/whitespace/trailing.unit[Renamed from test/whitespace/trailing.unit - diff]
- test/short/whitespace/try.stmt[Renamed from test/whitespace/try.stmt - diff]
- test/short/whitespace/type_arguments.stmt[Renamed from test/whitespace/type_arguments.stmt - diff]
- test/short/whitespace/type_parameters.unit[Renamed from test/whitespace/type_parameters.unit - diff]
- test/short/whitespace/typedef.unit[Renamed from test/whitespace/typedef.unit - diff]
- test/short/whitespace/unicode.unit[Renamed from test/whitespace/unicode.unit - diff]
- test/short/whitespace/variables.stmt[Renamed from test/whitespace/variables.stmt - diff]
- test/short/whitespace/while.stmt[Renamed from test/whitespace/while.stmt - diff]
- test/short_format_test.dart[diff]
- test/tall/declaration/class.unit[Renamed from test/declaration/class.unit - diff]
- test/tall/declaration/class_clause.unit[Renamed from test/declaration/class_clause.unit - diff]
- test/tall/declaration/class_comment.unit[Renamed from test/declaration/class_comment.unit - diff]
- test/tall/declaration/class_type_parameter.unit[Renamed from test/declaration/class_type_parameter.unit - diff]
- test/tall/declaration/constructor.unit[Renamed from test/declaration/constructor.unit - diff]
- test/tall/declaration/constructor_assert.unit[Renamed from test/declaration/constructor_assert.unit - diff]
- test/tall/declaration/constructor_comment.unit[Renamed from test/declaration/constructor_comment.unit - diff]
- test/tall/declaration/constructor_initializer.unit[Renamed from test/declaration/constructor_initializer.unit - diff]
- test/tall/declaration/constructor_parameter.unit[Renamed from test/declaration/constructor_parameter.unit - diff]
- test/tall/declaration/enum.unit[Renamed from test/declaration/enum.unit - diff]
- test/tall/declaration/enum_comment.unit[Renamed from test/declaration/enum_comment.unit - diff]
- test/tall/declaration/enum_member.unit[Renamed from test/declaration/enum_member.unit - diff]
- test/tall/declaration/enum_member_comment.unit[Renamed from test/declaration/enum_member_comment.unit - diff]
- test/tall/declaration/enum_metadata.unit[Renamed from test/declaration/enum_metadata.unit - diff]
- test/tall/declaration/extension.unit[Renamed from test/declaration/extension.unit - diff]
- test/tall/declaration/extension_type.unit[Renamed from test/declaration/extension_type.unit - diff]
- test/tall/declaration/extension_type_comment.unit[Renamed from test/declaration/extension_type_comment.unit - diff]
- test/tall/declaration/external.unit[Renamed from test/declaration/external.unit - diff]
- test/tall/declaration/field.unit[Renamed from test/declaration/field.unit - diff]
- test/tall/declaration/member.unit[Renamed from test/declaration/member.unit - diff]
- test/tall/declaration/member_comment.unit[Renamed from test/declaration/member_comment.unit - diff]
- test/tall/declaration/member_metadata.unit[Renamed from test/declaration/member_metadata.unit - diff]
- test/tall/declaration/metadata.unit[Renamed from test/declaration/metadata.unit - diff]
- test/tall/declaration/metadata_comment.unit[Renamed from test/declaration/metadata_comment.unit - diff]
- test/tall/declaration/method.unit[Renamed from test/declaration/method.unit - diff]
- test/tall/declaration/mixin.unit[Renamed from test/declaration/mixin.unit - diff]
- test/tall/declaration/mixin_application_class.unit[Renamed from test/declaration/mixin_application_class.unit - diff]
- test/tall/declaration/mixin_clause.unit[Renamed from test/declaration/mixin_clause.unit - diff]
- test/tall/declaration/native.unit[Renamed from test/declaration/native.unit - diff]
- test/tall/declaration/typedef.unit[Renamed from test/declaration/typedef.unit - diff]
- test/tall/declaration/typedef_comment.unit[Renamed from test/declaration/typedef_comment.unit - diff]
- test/tall/expression/assignment.stmt[Renamed from test/expression/assignment.stmt - diff]
- test/tall/expression/assignment_comment.stmt[Renamed from test/expression/assignment_comment.stmt - diff]
- test/tall/expression/assignment_pattern.stmt[Renamed from test/expression/assignment_pattern.stmt - diff]
- test/tall/expression/binary.stmt[Renamed from test/expression/binary.stmt - diff]
- test/tall/expression/binary_comment.stmt[Renamed from test/expression/binary_comment.stmt - diff]
- test/tall/expression/collection_for.stmt[Renamed from test/expression/collection_for.stmt - diff]
- test/tall/expression/collection_for_comment.stmt[Renamed from test/expression/collection_for_comment.stmt - diff]
- test/tall/expression/collection_for_in.stmt[Renamed from test/expression/collection_for_in.stmt - diff]
- test/tall/expression/collection_for_metadata.stmt[Renamed from test/expression/collection_for_metadata.stmt - diff]
- test/tall/expression/collection_for_spread_list.stmt[Renamed from test/expression/collection_for_spread_list.stmt - diff]
- test/tall/expression/collection_for_spread_map.stmt[Renamed from test/expression/collection_for_spread_map.stmt - diff]
- test/tall/expression/collection_for_spread_set.stmt[Renamed from test/expression/collection_for_spread_set.stmt - diff]
- test/tall/expression/collection_if.stmt[Renamed from test/expression/collection_if.stmt - diff]
- test/tall/expression/collection_if_case.stmt[Renamed from test/expression/collection_if_case.stmt - diff]
- test/tall/expression/collection_if_comment.stmt[Renamed from test/expression/collection_if_comment.stmt - diff]
- test/tall/expression/collection_if_spread_list.stmt[Renamed from test/expression/collection_if_spread_list.stmt - diff]
- test/tall/expression/collection_if_spread_map.stmt[Renamed from test/expression/collection_if_spread_map.stmt - diff]
- test/tall/expression/collection_if_spread_set.stmt[Renamed from test/expression/collection_if_spread_set.stmt - diff]
- test/tall/expression/collection_spread.stmt[Renamed from test/expression/collection_spread.stmt - diff]
- test/tall/expression/condition.stmt[Renamed from test/expression/condition.stmt - diff]
- test/tall/expression/condition_comment.stmt[Renamed from test/expression/condition_comment.stmt - diff]
- test/tall/expression/function_reference.stmt[Renamed from test/expression/function_reference.stmt - diff]
- test/tall/expression/interpolation.stmt[Renamed from test/expression/interpolation.stmt - diff]
- test/tall/expression/list.stmt[Renamed from test/expression/list.stmt - diff]
- test/tall/expression/list_comment.stmt[Renamed from test/expression/list_comment.stmt - diff]
- test/tall/expression/list_nested.stmt[Renamed from test/expression/list_nested.stmt - diff]
- test/tall/expression/list_preserve_newlines.stmt[Renamed from test/expression/list_preserve_newlines.stmt - diff]
- test/tall/expression/logical.stmt[Renamed from test/expression/logical.stmt - diff]
- test/tall/expression/map.stmt[Renamed from test/expression/map.stmt - diff]
- test/tall/expression/map_comment.stmt[Renamed from test/expression/map_comment.stmt - diff]
- test/tall/expression/map_nested.stmt[Renamed from test/expression/map_nested.stmt - diff]
- test/tall/expression/map_preserve_newlines.stmt[Renamed from test/expression/map_preserve_newlines.stmt - diff]
- test/tall/expression/other.stmt[Renamed from test/expression/other.stmt - diff]
- test/tall/expression/postfix.stmt[Renamed from test/expression/postfix.stmt - diff]
- test/tall/expression/prefix.stmt[Renamed from test/expression/prefix.stmt - diff]
- test/tall/expression/record.stmt[Renamed from test/expression/record.stmt - diff]
- test/tall/expression/record_comment.stmt[Renamed from test/expression/record_comment.stmt - diff]
- test/tall/expression/record_nested.stmt[Renamed from test/expression/record_nested.stmt - diff]
- test/tall/expression/record_preserve_newlines.stmt[Renamed from test/expression/record_preserve_newlines.stmt - diff]
- test/tall/expression/set.stmt[Renamed from test/expression/set.stmt - diff]
- test/tall/expression/set_comment.stmt[Renamed from test/expression/set_comment.stmt - diff]
- test/tall/expression/set_nested.stmt[Renamed from test/expression/set_nested.stmt - diff]
- test/tall/expression/set_preserve_newlines.stmt[Renamed from test/expression/set_preserve_newlines.stmt - diff]
- test/tall/expression/string.stmt[Renamed from test/expression/string.stmt - diff]
- test/tall/expression/string_adjacent.stmt[Renamed from test/expression/string_adjacent.stmt - diff]
- test/tall/expression/string_adjacent_comment.stmt[Renamed from test/expression/string_adjacent_comment.stmt - diff]
- test/tall/expression/string_comment.stmt[Renamed from test/expression/string_comment.stmt - diff]
- test/tall/expression/switch.stmt[Renamed from test/expression/switch.stmt - diff]
- test/tall/expression/switch_comment.stmt[Renamed from test/expression/switch_comment.stmt - diff]
- test/tall/expression/switch_guard.stmt[Renamed from test/expression/switch_guard.stmt - diff]
- test/tall/expression/type_test.stmt[Renamed from test/expression/type_test.stmt - diff]
- test/tall/expression/type_test_comment.stmt[Renamed from test/expression/type_test_comment.stmt - diff]
- test/tall/function/block_body.unit[Renamed from test/function/block_body.unit - diff]
- test/tall/function/comment.unit[Renamed from test/function/comment.unit - diff]
- test/tall/function/default_value.unit[Renamed from test/function/default_value.unit - diff]
- test/tall/function/expression.stmt[Renamed from test/function/expression.stmt - diff]
- test/tall/function/expression_body.unit[Renamed from test/function/expression_body.unit - diff]
- test/tall/function/generic.unit[Renamed from test/function/generic.unit - diff]
- test/tall/function/getter.unit[Renamed from test/function/getter.unit - diff]
- test/tall/function/local.stmt[Renamed from test/function/local.stmt - diff]
- test/tall/function/metadata.unit[Renamed from test/function/metadata.unit - diff]
- test/tall/function/operator.unit[Renamed from test/function/operator.unit - diff]
- test/tall/function/other.unit[Renamed from test/function/other.unit - diff]
- test/tall/function/parameter.unit[Renamed from test/function/parameter.unit - diff]
- test/tall/function/setter.unit[Renamed from test/function/setter.unit - diff]
- test/tall/invocation/block_argument_comment.stmt[Renamed from test/invocation/block_argument_comment.stmt - diff]
- test/tall/invocation/block_argument_kind.stmt[Renamed from test/invocation/block_argument_kind.stmt - diff]
- test/tall/invocation/block_argument_multiple.stmt[Renamed from test/invocation/block_argument_multiple.stmt - diff]
- test/tall/invocation/block_argument_other.stmt[Renamed from test/invocation/block_argument_other.stmt - diff]
- test/tall/invocation/block_argument_string.stmt[Renamed from test/invocation/block_argument_string.stmt - diff]
- test/tall/invocation/cascade.stmt[Renamed from test/invocation/cascade.stmt - diff]
- test/tall/invocation/cascade_comment.stmt[Renamed from test/invocation/cascade_comment.stmt - diff]
- test/tall/invocation/cascade_mixed.stmt[Renamed from test/invocation/cascade_mixed.stmt - diff]
- test/tall/invocation/chain.stmt[Renamed from test/invocation/chain.stmt - diff]
- test/tall/invocation/chain_block.stmt[Renamed from test/invocation/chain_block.stmt - diff]
- test/tall/invocation/chain_comment.stmt[Renamed from test/invocation/chain_comment.stmt - diff]
- test/tall/invocation/chain_postfix.stmt[Renamed from test/invocation/chain_postfix.stmt - diff]
- test/tall/invocation/chain_property.stmt[Renamed from test/invocation/chain_property.stmt - diff]
- test/tall/invocation/chain_target.stmt[Renamed from test/invocation/chain_target.stmt - diff]
- test/tall/invocation/comma_comment.stmt[Renamed from test/invocation/comma_comment.stmt - diff]
- test/tall/invocation/comment.stmt[Renamed from test/invocation/comment.stmt - diff]
- test/tall/invocation/constructor.stmt[Renamed from test/invocation/constructor.stmt - diff]
- test/tall/invocation/function.stmt[Renamed from test/invocation/function.stmt - diff]
- test/tall/invocation/invocation_expression.stmt[Renamed from test/invocation/invocation_expression.stmt - diff]
- test/tall/invocation/named_argument.stmt[Renamed from test/invocation/named_argument.stmt - diff]
- test/tall/invocation/null_aware.stmt[Renamed from test/invocation/null_aware.stmt - diff]
- test/tall/invocation/other.stmt[Renamed from test/invocation/other.stmt - diff]
- test/tall/invocation/super.stmt[Renamed from test/invocation/super.stmt - diff]
- test/tall/pattern/cast.stmt[Renamed from test/pattern/cast.stmt - diff]
- test/tall/pattern/cast_comment.stmt[Renamed from test/pattern/cast_comment.stmt - diff]
- test/tall/pattern/constant.stmt[Renamed from test/pattern/constant.stmt - diff]
- test/tall/pattern/declared_variable.stmt[Renamed from test/pattern/declared_variable.stmt - diff]
- test/tall/pattern/declared_variable_comment.stmt[Renamed from test/pattern/declared_variable_comment.stmt - diff]
- test/tall/pattern/list.stmt[Renamed from test/pattern/list.stmt - diff]
- test/tall/pattern/list_comment.stmt[Renamed from test/pattern/list_comment.stmt - diff]
- test/tall/pattern/logic.stmt[Renamed from test/pattern/logic.stmt - diff]
- test/tall/pattern/logic_comment.stmt[Renamed from test/pattern/logic_comment.stmt - diff]
- test/tall/pattern/map.stmt[Renamed from test/pattern/map.stmt - diff]
- test/tall/pattern/map_comment.stmt[Renamed from test/pattern/map_comment.stmt - diff]
- test/tall/pattern/object.stmt[Renamed from test/pattern/object.stmt - diff]
- test/tall/pattern/object_comment.stmt[Renamed from test/pattern/object_comment.stmt - diff]
- test/tall/pattern/other.stmt[Renamed from test/pattern/other.stmt - diff]
- test/tall/pattern/other_comment.stmt[Renamed from test/pattern/other_comment.stmt - diff]
- test/tall/pattern/record.stmt[Renamed from test/pattern/record.stmt - diff]
- test/tall/pattern/record_comment.stmt[Renamed from test/pattern/record_comment.stmt - diff]
- test/tall/pattern/relational.stmt[Renamed from test/pattern/relational.stmt - diff]
- test/tall/pattern/relational_comment.stmt[Renamed from test/pattern/relational_comment.stmt - diff]
- test/tall/regression/other/flutter.unit[Renamed from test/regression_tall/other/flutter.unit - diff]
- test/tall/regression/other/misc.unit[Renamed from test/regression_tall/other/misc.unit - diff]
- test/tall/selection/comma.stmt[Renamed from test/selection/comma.stmt - diff]
- test/tall/selection/comment.stmt[Renamed from test/selection/comment.stmt - diff]
- test/tall/selection/selection.stmt[Renamed from test/selection/selection.stmt - diff]
- test/tall/selection/selection.unit[Renamed from test/selection/selection.unit - diff]
- test/tall/statement/assert.stmt[Renamed from test/statement/assert.stmt - diff]
- test/tall/statement/block.stmt[Renamed from test/statement/block.stmt - diff]
- test/tall/statement/block_comment.stmt[Renamed from test/statement/block_comment.stmt - diff]
- test/tall/statement/do_while.stmt[Renamed from test/statement/do_while.stmt - diff]
- test/tall/statement/expression.stmt[Renamed from test/statement/expression.stmt - diff]
- test/tall/statement/for.stmt[Renamed from test/statement/for.stmt - diff]
- test/tall/statement/for_comment.stmt[Renamed from test/statement/for_comment.stmt - diff]
- test/tall/statement/for_declaration.stmt[Renamed from test/statement/for_declaration.stmt - diff]
- test/tall/statement/for_in.stmt[Renamed from test/statement/for_in.stmt - diff]
- test/tall/statement/for_initializer.stmt[Renamed from test/statement/for_initializer.stmt - diff]
- test/tall/statement/for_metadata.stmt[Renamed from test/statement/for_metadata.stmt - diff]
- test/tall/statement/if.stmt[Renamed from test/statement/if.stmt - diff]
- test/tall/statement/if_case.stmt[Renamed from test/statement/if_case.stmt - diff]
- test/tall/statement/if_case_comment.stmt[Renamed from test/statement/if_case_comment.stmt - diff]
- test/tall/statement/if_comment.stmt[Renamed from test/statement/if_comment.stmt - diff]
- test/tall/statement/other.stmt[Renamed from test/statement/other.stmt - diff]
- test/tall/statement/other_comment.stmt[Renamed from test/statement/other_comment.stmt - diff]
- test/tall/statement/return.stmt[Renamed from test/statement/return.stmt - diff]
- test/tall/statement/return_comment.stmt[Renamed from test/statement/return_comment.stmt - diff]
- test/tall/statement/switch.stmt[Renamed from test/statement/switch.stmt - diff]
- test/tall/statement/switch_comment.stmt[Renamed from test/statement/switch_comment.stmt - diff]
- test/tall/statement/switch_guard.stmt[Renamed from test/statement/switch_guard.stmt - diff]
- test/tall/statement/switch_legacy.stmt[Renamed from test/statement/switch_legacy.stmt - diff]
- test/tall/statement/try.stmt[Renamed from test/statement/try.stmt - diff]
- test/tall/statement/try_comment.stmt[Renamed from test/statement/try_comment.stmt - diff]
- test/tall/statement/while.stmt[Renamed from test/statement/while.stmt - diff]
- test/tall/statement/while_comment.stmt[Renamed from test/statement/while_comment.stmt - diff]
- test/tall/top_level/comment.unit[Renamed from test/top_level/comment.unit - diff]
- test/tall/top_level/export.unit[Renamed from test/top_level/export.unit - diff]
- test/tall/top_level/import.unit[Renamed from test/top_level/import.unit - diff]
- test/tall/top_level/import_comment.unit[Renamed from test/top_level/import_comment.unit - diff]
- test/tall/top_level/library.unit[Renamed from test/top_level/library.unit - diff]
- test/tall/top_level/library_comment.unit[Renamed from test/top_level/library_comment.unit - diff]
- test/tall/top_level/metadata.unit[Renamed from test/top_level/metadata.unit - diff]
- test/tall/top_level/mixed.unit[Renamed from test/top_level/mixed.unit - diff]
- test/tall/top_level/part.unit[Renamed from test/top_level/part.unit - diff]
- test/tall/top_level/script.unit[Renamed from test/top_level/script.unit - diff]
- test/tall/top_level/script_comment.unit[Renamed from test/top_level/script_comment.unit - diff]
- test/tall/top_level/show_hide.unit[Renamed from test/top_level/show_hide.unit - diff]
- test/tall/top_level/trailing_whitespace.unit[Renamed from test/top_level/trailing_whitespace.unit - diff]
- test/tall/top_level/unicode.unit[Renamed from test/top_level/unicode.unit - diff]
- test/tall/top_level/whitespace.unit[Renamed from test/top_level/whitespace.unit - diff]
- test/tall/type/function.stmt[Renamed from test/type/function.stmt - diff]
- test/tall/type/function_comment.stmt[Renamed from test/type/function_comment.stmt - diff]
- test/tall/type/metadata.stmt[Renamed from test/type/metadata.stmt - diff]
- test/tall/type/named.stmt[Renamed from test/type/named.stmt - diff]
- test/tall/type/record.stmt[Renamed from test/type/record.stmt - diff]
- test/tall/type/record_comment.stmt[Renamed from test/type/record_comment.stmt - diff]
- test/tall/type/type_argument.stmt[Renamed from test/type/type_argument.stmt - diff]
- test/tall/variable/local.stmt[Renamed from test/variable/local.stmt - diff]
- test/tall/variable/local_comment.stmt[Renamed from test/variable/local_comment.stmt - diff]
- test/tall/variable/metadata.unit[Renamed from test/variable/metadata.unit - diff]
- test/tall/variable/pattern.stmt[Renamed from test/variable/pattern.stmt - diff]
- test/tall/variable/top_level.unit[Renamed from test/variable/top_level.unit - diff]
- test/tall/variable/top_level_comment.unit[Renamed from test/variable/top_level_comment.unit - diff]
- test/tall_format_test.dart[diff]
- test/utils.dart[diff]

625 files changed

tree: 2558596d47b22b8a0040c885c1b908ee15b24e27

- .github/
- benchmark/
- bin/
- dist/
- example/
- lib/
- test/
- tool/
- .gitignore
- analysis_options.yaml
- AUTHORS
- CHANGELOG.md
- LICENSE
- pubspec.yaml
- README.md

README.md

The dart_style package defines an automatic, opinionated formatter for Dart code. It replaces the whitespace in your program with what it deems to be the best formatting for it. Resulting code should follow the Dart style guide but, moreso, should look nice to most human readers, most of the time.

The formatter handles indentation, inline whitespace, and (by far the most difficult) intelligent line wrapping. It has no problems with nested collections, function expressions, long argument lists, or otherwise tricky code.

The formatter turns code like this:

// BEFORE formatting if (tag=='style'||tag=='script'&&(type==null||type == TYPE_JS ||type==TYPE_DART)|| tag=='link'&&(rel=='stylesheet'||rel=='import')) {}

into:

// AFTER formatting if (tag == 'style' || tag == 'script' && (type == null || type == TYPE_JS || type == TYPE_DART) || tag == 'link' && (rel == 'stylesheet' || rel == 'import')) {}

The formatter will never break your codeâ€”you can safely invoke it automatically from build and presubmit scripts.

The formatter can also apply non-whitespace changes to make your code consistently idiomatic. You must opt into these by passing either `--fix`

which applies all style fixes, or any of the `--fix-`

-prefixed flags to apply specific fixes.

For example, running with `--fix-named-default-separator`

changes this:

greet(String name, {String title: "Captain"}) { print("Greetings, $title $name!"); }

into:

greet(String name, {String title = "Captain"}) { print("Greetings, $title $name!"); }

The formatter is part of the unified `dart`

developer tool included in the Dart SDK, so most users get it directly from there. That has the latest version of the formatter that was available when the SDK was released.

IDEs and editors that support Dart usually provide easy ways to run the formatter. For example, in WebStorm you can right-click a .dart file and then choose **Reformat with Dart Style**.

Here's a simple example of using the formatter on the command line:

$ dart format test.dart

This command formats the `test.dart`

file and writes the result to the file.

`dart format`

takes a list of paths, which can point to directories or files. If the path is a directory, it processes every `.dart`

file in that directory or any of its subdirectories.

By default, it formats each file and write the formatting changes to the files. If you pass `--output show`

, it prints the formatted code to stdout.

You may pass a `-l`

option to control the width of the page that it wraps lines to fit within, but you're strongly encouraged to keep the default line length of 80 columns.

If you want to use the formatter in something like a presubmit script or commit hook, you can pass flags to omit writing formatting changes to disk and to update the exit code to indicate success/failure:

$ dart format --output=none --set-exit-if-changed .

If you need to run a different version of the formatter, you can globally activate the package from the dart_style package on pub.dev:

$ pub global activate dart_style $ pub global run dart_style:format ...

The package also exposes a single dart_style library containing a programmatic API for formatting code. Simple usage looks like this:

import 'package:dart_style/dart_style.dart'; main() { final formatter = DartFormatter(); try { print(formatter.format(""" library an_entire_compilation_unit; class SomeClass {} """)); print(formatter.formatStatement("aSingle(statement);")); } on FormatterException catch (ex) { print(ex); } }

Before sending an email, see if you are asking a frequently asked question.

Before filing a bug, or if you want to understand how work on the formatter is managed, see how we track issues.