Skip to content

Go-to-definition doesn't work on path in calls to 'require' #9251

@DanielRosenwasser

Description

@DanielRosenwasser

./foo.js:

module.exports = {};

./bar.js:

var x = require(/*$*/"./foo");
  1. Go to definition on /*$*/

Expected: Navigate to foo.js.
Actual: Nada.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions