By default, all JavaScript files opened in Visual Studio Code are treated as independent units. If you want to enable IntelliSense for the entire project, be sure to place the file jsconfig.jsonin the root of your project.
jsconfig.json, JavaScript ES6 node_modules.
{
"compilerOptions": {
"target": "ES6",
"module": "commonjs",
"allowSyntheticDefaultImports": true
},
"exclude": [
"node_modules"
]
}
IntelliSense AngularJS .d.ts DefinitelyTyped . Typings .
, npm install typings --global. npm. AngularJS typings install dt~angular --global. DefinitelyTyped .
typings search angular.
IntelliSense ///.
VS.
, !