-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JavaScriptThe issue relates to JavaScript specificallyThe issue relates to JavaScript specificallyDomain: LS: Symbol NavigationRelates to go-to-definition, find-all-references, highlighting/occurrences.Relates to go-to-definition, find-all-references, highlighting/occurrences.FixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
Follow-up to #9251, and this has been driving me crazy for a long time now.
// ./a.js
class Blah {
abc = 123;
}
module.exports.Blah = Blah;// ./b.js
const BlahModule = require("./a.js");
new /**/BlahModule.Blah()- Go to definition on
/**/ - You will be taken to the declaration of
BlahModuleitself. Go to definition once more
Current Behavior
Nothing happens
Expected Behavior
Take me to the first line of ./a.js.
AviVahl
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JavaScriptThe issue relates to JavaScript specificallyThe issue relates to JavaScript specificallyDomain: LS: Symbol NavigationRelates to go-to-definition, find-all-references, highlighting/occurrences.Relates to go-to-definition, find-all-references, highlighting/occurrences.FixedA PR has been merged for this issueA PR has been merged for this issue