[英]How setting VSCODE on HTML
In VSCODE, how do I delete the closing </> in the html but the parent <> doesn't get deleted too?在 VSCODE 中,如何删除 html 中的结束 </> 但父 <> 也不会被删除?
<div> <!-- 2. which even followed was deleted-->
<p>TEXT</p>
<p>TEXT</p>
<p>TEXT</p>
</div> <!-- 1. This is what you want to delete-->
Please help.请帮忙。
Open Visual Studio Code, go to File -> Preferences -> Settings
or use the shortcut ctrl + ,
to open the settings.打开 Visual Studio Code,转到
File -> Preferences -> Settings
或使用快捷键ctrl + ,
打开设置。
Search for the setting Auto Closing Tags
.搜索设置
Auto Closing Tags
。 Uncheck HTML: Auto Closing Tags.取消选中 HTML:自动关闭标签。
These search results allow you to disable auto closing for JavaScript and TypeScript if desired.如果需要,这些搜索结果允许您禁用 JavaScript 和 TypeScript 的自动关闭。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.