After a while since I had installed VS Code, I started to work on a nodejs project. As I started development, I started to realise that the intellisense of VS Code was just not up to the high standards that I had expected. Infact, it was just plain poor. There was no option even to rename an element, no ‘lightbulb’, no options when right-clicking an element:

I knew that some setting was not configured properly. So after digging up the Visual Studio Code website for javascript configuration, I came up with what was wrong.
There is a built-in extension called TypeScript and JavaScript Language Features (vscode.typescript-language-features) that is disabled.
To enable it, go Extensions.
Click the dotted button in the Extensions panel:

And click Show Built-in Extensions from the dropdown box.
In the search box, type @builtin TypeScript and JavaScript Language Features
When the extension appears, Enable it.
Now you should be able to see the list of options for making your coding life easier:


You saved me!!! Been searching this for a while and couldn’t find any solution, thanks a lot!
LikeLike
The same problem was. Tnx! Even install webstorm 🙂 but it is not an option for me
LikeLike
That was what I been trying to figure out all day. Thanks 👍
LikeLike
Very helpful. Went through a lot of post in stack overflow and the github repo of vscode, none of them asked you to check this simple thing before doing much more complicated things. Thanks!
LikeLike
Not helpful for me. All that is enabled, and Intellisense still isn’t picking up on my JavaScript code.
LikeLike
I has been trying for 2hours. Thanks a lots!
LikeLike
Many, thousand thanks for explaining this to me.
LikeLike
I was going nuts searching far and wide all over the internet, only finding people whose Intellisense was sort of working. I was like, no, it’s not working at all! There must be some simple problem I am missing!
Thank you!
LikeLike
This is a lifesaver, for some reason my JS was not referencing me to anything and this extension was disabled
LikeLike
You’re a life saver, thanks
LikeLike