-
Notifications
You must be signed in to change notification settings - Fork 35.8k
Closed
Labels
javascriptJavaScript support issuesJavaScript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)
Description
I have the files config.js:
module.exports = {
username: 'meir',
password: '123456'
};and config.json:
{
"username": "meir",
"password": "123456"
}when requiring that file from another file I get intellisense on that object.
app.js:
const config = require('./config.js');
config. // suggests username & passwordHowever when using raw json file I get no intellisense at all:
const config = require('./config.json');
config. // random stuffMetadata
Metadata
Assignees
Labels
javascriptJavaScript support issuesJavaScript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)