标签: html visual-studio-code emmet
例如,之前:
<div> <div>Titles</div> <div>Description</div> </div>
后:
<div>Titles</div> <div>Description</div>
答案 0 :(得分:9)
使用Emmet: Remove Tag命令:
Emmet: Remove Tag
使用editor.emmet.action.removeTag:
editor.emmet.action.removeTag
{ "key": "ctrl+shift+k", "command": "editor.emmet.action.removeTag" }