Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: pkg/analysis_server/test/integration/protocol_matchers.dart

Issue 2726923003: CompletionSuggestion API for arg list text ranges. (Closed)
Patch Set: Added API example. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/test/integration/protocol_matchers.dart
diff --git a/pkg/analysis_server/test/integration/protocol_matchers.dart b/pkg/analysis_server/test/integration/protocol_matchers.dart
index 2246d1e6e680187b49442a3578031316054a61de..1ad51bf31314a03d94130444536717ef3f73ad4a 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -1264,6 +1264,7 @@ final Matcher isCompletionId = isString;
* "docComplete": optional String
* "declaringType": optional String
* "defaultArgumentListString": optional String
+ * "defaultArgumentListTextRanges": optional List<int>
* "element": optional Element
* "returnType": optional String
* "parameterNames": optional List<String>
@@ -1289,6 +1290,7 @@ final Matcher isCompletionSuggestion = new LazyMatcher(() => new MatchesJsonObje
"docComplete": isString,
"declaringType": isString,
"defaultArgumentListString": isString,
+ "defaultArgumentListTextRanges": isListOf(isInt),
"element": isElement,
"returnType": isString,
"parameterNames": isListOf(isString),

Powered by Google App Engine
This is Rietveld 408576698