HTML文件内部的智能Javascript建议在Visual Studio代码更新之后无法工作 [英] Smart Javascript suggestions inside HTML files no loger working after Visual Studio Code update

查看:116
本文介绍了HTML文件内部的智能Javascript建议在Visual Studio代码更新之后无法工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在已经使用了Visual Studio Code几个月了。在Javascript中写入HTML文件时,我习惯了< script> 元素中的智能建议。例如

I have been using Visual Studio Code for a few months now. I got used to the smart suggestions inside <script> elements when writing Javascript inside an HTML file. E.g.

<body>
...
<script>/* Suggestions would appear here */</script>
</body>

但是在最近的更新之后,我不再在HTML文件中获得这些建议(我认为它们被称为 IntelliSense )。

But after a recent update, I no longer get those suggestions inside HTML files (I think they are called IntelliSense).

我在Google上进行了一些搜索,并检查了我的VSCode工作区设置,但我无法弄清楚如何让他们回来。有没有人有线索?

I ran a few searches on Google, and I checked my VSCode workspace settings, but I can't figure out how to get them back. Does anyone have a clue?

推荐答案

CURRENTLY UNSUPPORTED



JS智能感知无法在HTML脚本标记VSCode Issue#4369中发挥作用

如何启用Intellisense for Visual Studio代码中的JavaScript - StackOverflow

这篇关于HTML文件内部的智能Javascript建议在Visual Studio代码更新之后无法工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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