I want to use VS Code to try out the examples of a JavaScript book, but there\'s no intellisense, or at least I don\'t know how to activate it.
In Visual Studio this
Starting with the November 2016 (version 1.8) release, Visual Studio Code now fully supports IntelliSense for JavaScript in HTML.
Note that the language support doesn't follow script includes, it only knows about definitions made in the same file.