mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 18:31:32 +00:00
28e926f0fb
Previously, we only had descriptions of changes on a SourceChange. In order to support annotated edits over LSP for "Fix All in Workspace" we need to be able to track descriptions on each change within a file so that if we're fixing multiple different lints with a single SourceFileEdit they can be annotated/grouped in the UI. In order to avoid every fix providing a description, ChangeBuilder has a field that allows recording the current change description and all builders created from it will use that description when creating their changes. This allows the BulkFixProcessor to set the description on behalf of each fix producer ensuring they all get descriptions (which is done in a follow-up CL along with Fix All in Workspace functionality). Change-Id: Ie1c508056898bd4000a5505cf59a1e6d35d28da0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/356160 Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> |
||
---|---|---|
.. | ||
api.dart | ||
check_all_test.dart | ||
codegen_dart.dart | ||
codegen_dart_protocol.dart | ||
codegen_inttest_methods.dart | ||
codegen_matchers.dart | ||
codegen_protocol_common.dart | ||
codegen_protocol_constants.dart | ||
common_types_spec.html | ||
from_html.dart | ||
generate_all.dart | ||
generate_files | ||
implied_types.dart | ||
plugin_spec.html | ||
to_html.dart |