如何在Visual Studio Code中为JavaScript启用Intellisense [英] How to enable Intellisense for JavaScript in Visual Studio Code

查看:294
本文介绍了如何在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?

谢谢.

推荐答案

当前不受支持

JS intellisense在HTML脚本标记中不起作用-VSCode GitHub Issue#4369

HTML内的智能Javascript建议文件在Visual Studio代码更新后无法运行日志记录器-StackOverflow

这篇关于如何在Visual Studio Code中为JavaScript启用Intellisense的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆