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

Unified Diff: pkg/analysis_server/lib/src/services/completion/dart/local_constructor_contributor.dart

Issue 2771653002: Completion boilerplate for Flutter cons children (flutter-intellij#463) (Closed)
Patch Set: Created 3 years, 9 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/lib/src/services/completion/dart/local_constructor_contributor.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/dart/local_constructor_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/local_constructor_contributor.dart
index 7b908a8c0005c2cb1ac2fe16f0e9a60d41632c4c..a8ef12e9854cd148c8b584f17e7be67c6ef9b82a 100644
--- a/pkg/analysis_server/lib/src/services/completion/dart/local_constructor_contributor.dart
+++ b/pkg/analysis_server/lib/src/services/completion/dart/local_constructor_contributor.dart
@@ -137,7 +137,8 @@ class _Visitor extends LocalDeclarationVisitor {
}
}
if (elem != null) {
- CompletionSuggestion suggestion = createSuggestion(elem,
+ CompletionSuggestion suggestion = createSuggestion(
+ elem, request.ideOptions,
completion: completion, relevance: relevance);
if (suggestion != null) {
suggestions.add(suggestion);

Powered by Google App Engine
This is Rietveld 408576698