Reputation: 1997
I have been trying to get the IntelliSense activated inside VS Code.
When i do a gulp.
, it is not giving me options like task
Upvotes: 4
Views: 1978
Reputation: 31
After installing typings and:
typings install dt~gulp --global // --ambient deprecated use --global
Then click on green light bulb in bottom-right corner of VSC, and add a jsconfig.json file
Check out:
https://code.visualstudio.com/docs/runtimes/nodejs#_adding-a-jsconfigjson-configuration-file
You don't have to use
///
anymore... Also, you may need to close (using the "x") gulpfile.js, jsconfig.json, and package.json in the "Working Files" for jsconfig.json to recognize workspace.
Upvotes: 1
Reputation: 7408
You need to install gulp's typings file. I'm also not sure whether intellisense works without typescript for external modules.
npm i -g typings
typings init
typings install gulp --save-dev
Upvotes: 1