visual-studio-codeintellisensejavascript-intellisense

How can I enable IntelliSense for JavaScript inside HTML?


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 feature works out of the box :

enter image description here

But in VS Code, all I got is a message saying "No suggestions."

enter image description here

What do I need to do to enable IntelliSense in VS Code?


Solution

  • Currently Unsupported

    JS intellisense doesnt work in HTML script tag - VSCode GitHub Issues #4369

    Smart Javascript suggestions inside HTML files no loger working after Visual Studio Code update - StackOverflow