如何在Visual Studio Code中为JavaScript启用Intellisense

如何在Visual Studio Code中为JavaScript启用Intellisense

问题描述:

我想使用VS Code尝试一本JavaScript书的示例,但是没有智能,或者至少我不知道如何激活它.

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.

在Visual Studio中,此功能开箱即用:

In Visual Studio this feature works out of the box :

但是在VS Code中,我只收到一条消息,说没有建议"

But in VS Code, all I got is a message saying "There's no suggestions"

要在VSCode中启用智能感知,我需要做什么?

What do I need to do to enable the intellisense in VSCode?

谢谢.