commit | bd2e564e57bf5cb7a7cc194a2ee736c33fcc7bf6 | [log] [tgz] |
---|---|---|
author | pq <pquitslund@google.com> | Tue Apr 20 21:20:03 2021 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Tue Apr 20 21:20:03 2021 +0000 |
tree | 18634553d5791feae2f6fa109104a86c475b3b21 | |
parent | 56e5655353ad8da9cf1854d9ad60ef33610db265 [diff] |
+ bulk fix for sort_directives Change-Id: Ie347357a5a5f1d38716fd83c723d09b268a8859d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196108 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
diff --git a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart index 280732a..3b6bbe8 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart
@@ -578,7 +578,7 @@ LintNames.directives_ordering: [ FixInfo( canBeAppliedToFile: false, // Fix will sort all directives. - canBeBulkApplied: false, + canBeBulkApplied: true, generators: [ OrganizeImports.newInstance, ],