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

Auto-Complete gives higher priority to variables not in my code. #42536

Closed
mattdesl opened this issue Jan 30, 2018 · 2 comments
Closed

Auto-Complete gives higher priority to variables not in my code. #42536

mattdesl opened this issue Jan 30, 2018 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) javascript JavaScript support issues

Comments

@mattdesl
Copy link

  • VSCode Version: 1.19.3
  • OS Version: OSX 10.12.6

Steps to Reproduce:

  1. Create a new JavaScript file with const THREE = require('three'); at the top
  2. Start typing console.log(new THREE.

Auto-complete will default to HTMLHRElement instead of THREE.

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

A bit frustrating since there seems to be no way to disable this.

Typing looks like this before hitting the period . key:

screen shot 2018-01-30 at 2 46 25 pm

However, upon hitting ., auto-complete re-writes THREE to HTMLHRElement.

screen shot 2018-01-30 at 2 46 31 pm

@vscodebot vscodebot bot added the javascript JavaScript support issues label Jan 30, 2018
@mjbvz
Copy link
Collaborator

mjbvz commented Jan 30, 2018

Duplicate of #40311

Should be fixed in insiders

@mjbvz mjbvz closed this as completed Jan 30, 2018
@mjbvz
Copy link
Collaborator

mjbvz commented Jan 30, 2018

Actually could be #41060 as well. Try setting "editor.selectSuggestions": "never" if you still hit this in insiders

@mjbvz mjbvz added the *duplicate Issue identified as a duplicate of another issue(s) label Jan 30, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 16, 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) javascript JavaScript support issues
Projects
None yet
Development

No branches or pull requests

2 participants