-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugtypescriptTypescript support issuesTypescript support issuesupstream-issue-linkedThis is an upstream issue that has been reported upstreamThis is an upstream issue that has been reported upstreamverifiedVerification succeededVerification succeeded
Milestone
Description
Version: 1.53.2 (user setup)
Commit: 622cb03
Date: 2021-02-11T11:48:04.245Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Windows_NT x64 10.0.19041
Steps to Reproduce:
There are three simple javascript files, and the code lens of the module a.js can only find 1 reference in c.js.
In the b.js, the a is referenced in the way of Object Shorthand property names, which is not be found in code lens.
a.js
const a = '123'; export default a;
b.js
import a from './a.js'; // referenced in the way of Object Shorthand property names, cannot be found by code lens. console.log({a});
c.js
import a from './a.js'; console.log(a);
Does this issue occur when all extensions are disabled?: Yes
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugtypescriptTypescript support issuesTypescript support issuesupstream-issue-linkedThis is an upstream issue that has been reported upstreamThis is an upstream issue that has been reported upstreamverifiedVerification succeededVerification succeeded