VSCode 不自动完成 HTML [英] VSCode not auto completing HTML

查看:41
本文介绍了VSCode 不自动完成 HTML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 7 上使用新安装的 Visual Studio Code 时遇到问题.在 Mac 上,编辑器会自动关闭 html 标签,但在我的 Win7 上不会.我认为必须有一些选项可以打开它,但我找不到任何选项.

I'm having trouble with my new installed Visual Studio Code on Windows 7. On Mac the editor automatically closes html tags but on my Win7 not. I assume there must be some option to turn it on but I can't find any.

我说的是什么时候,例如.编写 <html 会弹出 intelliSense,然后单击 Enter,通常它会自动放入 </html> 我的不工作.(智能感知会弹出,但当您选择其中一个选项时,它不会自动关闭标签:<h1> -> </h1>)

I'm talking about when eg. writing <html the intelliSense pops up and you click enter, usually it automatically puts in the </html> mine's not working. (The IntelliSense pops up but when you select one of the options it doesn't auto close the tag: <h1> -> </h1>)

推荐答案

来自 0.3.0 版本笔记

标签的 HTML 自动关闭现已被移除,并替换为 </ 上更智能的 IntelliSense.

HTML auto closing of tags has now been removed and replaced with smarter IntelliSense on </.

这篇关于VSCode 不自动完成 HTML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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