[英]Visual Studio autocomplete not working for javascript / css on html page
I'm trying out visual studio
code editor with html
, css
, and javascript
.我正在尝试使用html
、 css
和javascript
的visual studio
代码编辑器。 I noticed when typing any styles or scripts in the head of the html, autocomplete is failing.我注意到在 html 的头部输入任何样式或脚本时,自动完成失败。
Is anyone else noticing this or did I miss something?有其他人注意到这一点还是我错过了什么?
If you are using Visual Studio Code then read here .如果您使用的是 Visual Studio Code,请阅读此处。
If your using "regular" VS then most likely you're missing the Microsoft Web Developer Tools to your visual studio installation.如果您使用“常规”VS,那么很可能您在 Visual Studio 安装中缺少Microsoft Web 开发人员工具。
One way to add it is to go to programs and features on your OS and click on repair your visual studio installation.添加它的一种方法是转到操作系统上的程序和功能,然后单击修复您的 Visual Studio 安装。 Then on the "Optional features to install" dialog, check the "Microsoft Web Developer Tools" option and complete the repair.然后在“要安装的可选功能”对话框中,选中“Microsoft Web 开发人员工具”选项并完成修复。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.