dart-sdk/pkg/analyzer_plugin/tool/spec
Danny Tuppeny 28e926f0fb [analyzer]/[analyzer_plugin] Support change descriptions on SourceEdit
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>
2024-03-08 18:54:05 +00:00
..
api.dart [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
check_all_test.dart
codegen_dart.dart Bump package:lints to the latest; address instances of new lints. 2023-09-25 21:15:15 +00:00
codegen_dart_protocol.dart CQ. Enable avoid_redundant_argument_values in analysis_server/ 2024-02-26 19:51:41 +00:00
codegen_inttest_methods.dart [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
codegen_matchers.dart + flutter_style_todos 2023-11-13 00:14:09 +00:00
codegen_protocol_common.dart [analysis_server]/[analyzer_plugin] Make all toJson/fromJson methods go through a central converstion for Path<->URI Strings 2024-01-30 16:58:25 +00:00
codegen_protocol_constants.dart Bump package:lints to the latest; address instances of new lints. 2023-09-25 21:15:15 +00:00
common_types_spec.html [analyzer]/[analyzer_plugin] Support change descriptions on SourceEdit 2024-03-08 18:54:05 +00:00
from_html.dart [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
generate_all.dart [analysis_server]/[analyzer_plugin] Make all toJson/fromJson methods go through a central converstion for Path<->URI Strings 2024-01-30 16:58:25 +00:00
generate_files
implied_types.dart [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
plugin_spec.html
to_html.dart + flutter_style_todos 2023-11-13 00:14:09 +00:00