Skip to content

Commit

Permalink
Update included element kinds to include extensions
Browse files Browse the repository at this point in the history
Change-Id: I1eada569734810707df085b8b66e02f1458aabf7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116660
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
  • Loading branch information
bwilkerson authored and commit-bot@chromium.org committed Sep 10, 2019
1 parent 81dc269 commit f3911df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ class DartCompletionManager implements CompletionContributor {
if (opType.includeReturnValueSuggestions) {
kinds.add(protocol.ElementKind.CONSTRUCTOR);
kinds.add(protocol.ElementKind.ENUM_CONSTANT);
kinds.add(protocol.ElementKind.EXTENSION);
kinds.add(protocol.ElementKind.FUNCTION);
kinds.add(protocol.ElementKind.TOP_LEVEL_VARIABLE);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ main() {
ElementKind.CONSTRUCTOR,
ElementKind.ENUM,
ElementKind.ENUM_CONSTANT,
ElementKind.EXTENSION,
ElementKind.FUNCTION,
ElementKind.FUNCTION_TYPE_ALIAS,
ElementKind.MIXIN,
Expand Down

0 comments on commit f3911df

Please sign in to comment.