bulk fix protocol
Change-Id: Id8505d5ad6f0f3d1c5289ab12d4932c6174f72e5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153623 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
committed by
commit-bot@chromium.org
parent
7a1d6a9942
commit
3d5df93fb1
@@ -468,6 +468,22 @@ public interface AnalysisServer {
|
||||
*/
|
||||
public void diagnostic_getServerPort(GetServerPortConsumer consumer);
|
||||
|
||||
/**
|
||||
* {@code edit.bulkFixes}
|
||||
*
|
||||
* Analyze the specified sources for fixes that can be applied in bulk and return a set of
|
||||
* suggested edits for those sources. These edits may include changes to sources outside the set of
|
||||
* specified sources if a change in a specified source requires it.
|
||||
*
|
||||
* @param included A list of the files and directories for which edits should be suggested. If a
|
||||
* request is made with a path that is invalid, e.g. is not absolute and normalized, an
|
||||
* error of type INVALID_FILE_PATH_FORMAT will be generated. If a request is made for a
|
||||
* file which does not exist, or which is not currently subject to analysis (e.g. because
|
||||
* it is not associated with any analysis root specified to analysis.setAnalysisRoots), an
|
||||
* error of type FILE_NOT_ANALYZED will be generated.
|
||||
*/
|
||||
public void edit_bulkFixes(List<String> included, BulkFixesConsumer consumer);
|
||||
|
||||
/**
|
||||
* {@code edit.dartfix}
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user