[英]javascript Intellisense works on <script> of html but not in .js file
Using Visual Studio Code, intellisense is not working correctly in a .js
file.使用 Visual Studio Code,智能感知在.js
文件中无法正常工作。 VSCODE version 1.56.2 (user setup) VSCODE 版本 1.56.2(用户设置)
The intellisense does work correctly in a <script>
tag within a .html
file.智能感知在.html
文件中的<script>
标签中可以正常工作。
I tried the steps in Visual Studio Code Intellisense not working for Javascript but it's not working either.我尝试了Visual Studio Code Intellisense 中的步骤对 Javascript 不起作用,但它也不起作用。
try the following extension Visual Studio IntelliCode尝试以下扩展Visual Studio IntelliCode
and restart your VSCode and System并重启你的 VSCode 和系统
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.