-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
FixedA PR has been merged for this issueA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue
Milestone
Description
From @fronteed on September 17, 2016 10:16
- VSCode Version: 1.5.1
- OS Version: OS X El Capitan
Autocomplete for native methods and properties in JavaScript doesn't work inside IIFE (Immediately-Invoked Function Expression).
Steps to Reproduce:
- Type
document.getat the top of JS file - you will get 'getElementById` autocomplete suggestion.
- Type
document.getinside IIFE construction - you'll get no autocomplete suggestion forgetElementById.
(function (window, document) {
document.get| // no autocomplete
})(window, document)This looks like an issue, I hope this will be fixed in the next release.
Copied from original issue: microsoft/vscode#12186
Metadata
Metadata
Assignees
Labels
FixedA PR has been merged for this issueA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue

