@madstick vscode 里边内置了emmet,设置里 Emmet: Include Languages,把你想启用的文件格式加进去就好了。

比如你举的这个例子,输入 div. SiteHeader__container 按 tab 就可以了。类似的语法有很多,平时要写很多 html 的话很方便。
code.z01.com/emmet/#a2-7

Follow

@fornever @madstick@go5.dev

谢谢 感觉如果用习惯了之后会超好用

@Acer @madstick 嗯嗯,还是祝福你不用写太多html😂

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.