I have tried this:
JQuery intellisense in Visual Studio Code
and this:
http://shrekshao.github.io/2016/06/20/vscode-01/
But it does nothing, VS Code just won't add jquery intellisense, I've been trying to solve this for hours but it just won't work
Most of the blog postings are now outdated, as we finally have automatic type acquisition with version 1.8+ - you no longer need to install the typings yourself.
I recommend reading the official documentation, its always up to date: https://code.visualstudio.com/docs/languages/javascript
If you use npm and have a package.json
in your project and jQuery is listed there, it should already work.
If you do not use npm, you can create the file jsconfig.json
in the project root with the following content and you are good to go:
{
"typeAcquisition": {
"include": [
"jquery"
]
}
}