Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when enter comma or '.', cause wrong code completion. #55581

Closed
liangpure opened this issue Aug 1, 2018 · 3 comments
Closed

when enter comma or '.', cause wrong code completion. #55581

liangpure opened this issue Aug 1, 2018 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) typescript Typescript support issues

Comments

@liangpure
Copy link

  • VSCode Version:1.25.1
  • OS Version: win7/win10

Steps to Reproduce:

  1. coding arr.reduce((a,))
  2. when I tap ',' cause code completion,editor show
    arr.reduce((addEventListener,)).

Does this issue occur when all extensions are disabled?: Yes/No
Yes

@vscodebot vscodebot bot added the editor label Aug 1, 2018
@alexdima alexdima added the typescript Typescript support issues label Aug 3, 2018
@alexdima
Copy link
Member

alexdima commented Aug 3, 2018

This is pretty weird, why would TypeScript propose addEventListener at a parameter name position...

@jrieken jrieken removed their assignment Aug 6, 2018
@akolu
Copy link

akolu commented Aug 7, 2018

Seems to be the same issue as #47696

Setting editor.acceptSuggestionOnCommitCharacter to false worked for me.

@mjbvz
Copy link
Contributor

mjbvz commented Aug 7, 2018

Duplicate of #54386

@mjbvz mjbvz marked this as a duplicate of #54386 Aug 7, 2018
@mjbvz mjbvz closed this as completed Aug 7, 2018
@mjbvz mjbvz added the *duplicate Issue identified as a duplicate of another issue(s) label Aug 7, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) typescript Typescript support issues
Projects
None yet
Development

No branches or pull requests

5 participants