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

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

Issue 2565633002: Reorganize InheritedRefenenceContributor to serve angular completion (Closed)
Patch Set: Fix bad merge. Tests passing. Created 4 years 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/completion_manager.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart b/pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart
index 1290f70ae764e4f5f20277db247b9558f8d99439..6a9ac4314ec64e2fb281d88b832bb4d8d7b5f405 100644
--- a/pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart
+++ b/pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart
@@ -192,12 +192,7 @@ class DartCompletionRequestImpl implements DartCompletionRequest {
@override
bool get includeIdentifiers {
- opType; // <<< ensure _opType is initialized
- return !_opType.isPrefixed &&
- (_opType.includeReturnValueSuggestions ||
- _opType.includeTypeNameSuggestions ||
- _opType.includeVoidReturnSuggestions ||
- _opType.includeConstructorSuggestions);
+ return opType.includeIdentifiers;
}
@override

Powered by Google App Engine
This is Rietveld 408576698