Skip to content

Fix to allow for optional chain token in completions#81402

Merged
mjbvz merged 1 commit intomicrosoft:masterfrom
rbuckton:fixDotMatch
Sep 25, 2019
Merged

Fix to allow for optional chain token in completions#81402
mjbvz merged 1 commit intomicrosoft:masterfrom
rbuckton:fixDotMatch

Conversation

@rbuckton
Copy link

Fixes an issue where completions for non-identifier member names are ignored because the TypeScriptCompletionItemProvider was only looking for the preceding . token and did not include the optional chain token ?.. This resulted in an incorrect filter text when applied to the list of available completions:

image

With this change, the completion list is filtered properly:

image

@rbuckton
Copy link
Author

cc: @mjbvz

@mjbvz mjbvz added this to the September 2019 milestone Sep 25, 2019
@mjbvz mjbvz merged commit 340f7be into microsoft:master Sep 25, 2019
@mjbvz
Copy link
Collaborator

mjbvz commented Sep 25, 2019

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants