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

Unified Diff: pkg/analysis_server/lib/src/services/completion/dart/library_prefix_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/library_prefix_contributor.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/dart/library_prefix_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/library_prefix_contributor.dart
index a216606e40b18042327e2bfefab3a1a2b8cc14b9..1140b66fd47669f85716b3ba8e64eec7aa58220e 100644
--- a/pkg/analysis_server/lib/src/services/completion/dart/library_prefix_contributor.dart
+++ b/pkg/analysis_server/lib/src/services/completion/dart/library_prefix_contributor.dart
@@ -36,7 +36,8 @@ class LibraryPrefixContributor extends DartCompletionContributor {
if (completion != null && completion.length > 0) {
LibraryElement libElem = element.importedLibrary;
if (libElem != null) {
- CompletionSuggestion suggestion = createSuggestion(libElem,
+ CompletionSuggestion suggestion = createSuggestion(
+ libElem, request.ideOptions,
completion: completion,
kind: CompletionSuggestionKind.IDENTIFIER);
if (suggestion != null) {

Powered by Google App Engine
This is Rietveld 408576698