Three.js autocomplete with VS Code

I used this tutorial to add intellisense with Typings to VS Code.

You do need node.js installed so that you can use npm.

The final step:

Now with 1.x.x VSCode, we need to generate a jsconfig.json file in the root of the project folder by clicking the light bulb button at the bottom right.

doesn’t work, you’ll have to create jsconfig.json manually. Mine looks like:

{
  "typeAcquisition": {
    "include": [
      "three"
    ]
  },
  "compilerOptions": {
    "target": "ES6",
    "module": "es6"
  },
  "exclude": [
    "assets/js/build",
    "assets/js/build-min",
    "assets/js/vendor",
    "node_modules"
  ]
}