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

Cannot jump to required JSON file #46720

Closed
mfulton26 opened this issue Mar 27, 2018 · 1 comment
Closed

Cannot jump to required JSON file #46720

mfulton26 opened this issue Mar 27, 2018 · 1 comment
Assignees
Labels
javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@mfulton26
Copy link

Issue Type: Bug

const json = require('./path/to/json-file.json');

try to jump to the file (Ctrl+Click, F12, etc.), it won't work, but it would work if it were a .js file but it is a .json file which NodeJS supports as well as .js (it may support others too, not sure)

Thank you.

VS Code version: Code 1.21.1 (79b44aa, 2018-03-14T14:46:47.128Z)
OS version: Windows_NT x64 10.0.16299

Reproduces without extensions

@vscodebot vscodebot bot added the javascript JavaScript support issues label Mar 27, 2018
@mjbvz mjbvz added the upstream Issue identified as 'upstream' component related (exists outside of VS Code) label Mar 27, 2018
@mjbvz
Copy link
Collaborator

mjbvz commented Mar 27, 2018

Thanks. This is tracked by microsoft/TypeScript#7071

@mjbvz mjbvz closed this as completed Mar 27, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators May 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants