| Index: pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart
|
| index 2867bebee48ea9e6ed91eeb1eff999a18259815a..019c1ea1af61c6ec179a7aec62a16438deb59c6e 100644
|
| --- a/pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart
|
| +++ b/pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart
|
| @@ -149,8 +149,12 @@ class _KeywordVisitor extends GeneralizingAstVisitor {
|
| !node.directives.any((d) => d is LibraryDirective)) {
|
| _addSuggestions([Keyword.LIBRARY], DART_RELEVANCE_HIGH);
|
| }
|
| - _addSuggestions(
|
| - [Keyword.IMPORT, Keyword.EXPORT, Keyword.PART], DART_RELEVANCE_HIGH);
|
| + _addSuggestion2('${Keyword.IMPORT.syntax} \'\';',
|
| + offset: 8, relevance: DART_RELEVANCE_HIGH);
|
| + _addSuggestion2('${Keyword.EXPORT.syntax} \'\';',
|
| + offset: 8, relevance: DART_RELEVANCE_HIGH);
|
| + _addSuggestion2('${Keyword.PART.syntax} \'\';',
|
| + offset: 6, relevance: DART_RELEVANCE_HIGH);
|
| }
|
| if (entity == null || entity is Declaration) {
|
| if (previousMember is FunctionDeclaration &&
|
|
|