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

NodeJS require JSON file intelisense bug #43946

Closed
DerHerrGammler opened this issue Feb 18, 2018 · 1 comment
Closed

NodeJS require JSON file intelisense bug #43946

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

Comments

@DerHerrGammler
Copy link

DerHerrGammler commented Feb 18, 2018

  • VSCode Version: 1.20
  • OS Version: Win10

Steps to Reproduce:

  1. Create a JSON file with some content
  2. require this file in a js file for NodeJS

If I create a JSON object in my JavaScript file intelisense checked it and I can access my object with intelisense, but if I require a JSON file intelisense don't give me directly the content of the file. I have to check my file for the content.

Does this issue occur when all extensions are disabled?: Yes

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

mjbvz commented Feb 20, 2018

Tracked upstream by microsoft/TypeScript#7071

@mjbvz mjbvz closed this as completed Feb 20, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 6, 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