| Index: pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart b/pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart
|
| index dac00564df3d4bae49e2d27fa70bd073f4ff60db..b283ce9adae57f6f5c58390807fe9caf1527e666 100644
|
| --- a/pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart
|
| +++ b/pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart
|
| @@ -30,6 +30,11 @@ class ImportedReferenceContributor extends DartCompletionContributor {
|
|
|
| @override
|
| bool computeFast(DartCompletionRequest request) {
|
| + // Don't suggest in comments.
|
| + if (request.target.isCommentText) {
|
| + return true;
|
| + }
|
| +
|
| OpType optype = request.optype;
|
| if (!optype.isPrefixed) {
|
| if (optype.includeReturnValueSuggestions ||
|
|
|