Deprecated: imwpcache\f884414bce24ee67f\f73723ec7b1919fa5::__construct(): Implicitly marking parameter $YECBGYFECGEAFWHA as nullable is deprecated, the explicit nullable type must be used instead in /www/wwwroot/www.chuangxiangniao.com/wp-content/plugins/imwpcache-dist/build/f884414bce24ee67ff73723ec7b1919fa5.php on line 2

Deprecated: imwpcache\f884414bce24ee67f\f73723ec7b1919fa5::__construct(): Implicitly marking parameter $BBWFDDBHHYHDXXAB as nullable is deprecated, the explicit nullable type must be used instead in /www/wwwroot/www.chuangxiangniao.com/wp-content/plugins/imwpcache-dist/build/f884414bce24ee67ff73723ec7b1919fa5.php on line 2
如何修改vscode中html的默认样式_创想鸟

如何修改vscode中html的默认样式

如何修改vscode中html的默认样式

1、找到vscode安装目录

按照下面步骤,找到expand文件夹,找到expand-full.js文件

D:vscodeanzhuangMicrosoft VS Coderesourcesappextensionsemmetnode_modulesvscode-emmet-helperoutexpand

426af9111c2d68df2d87e18c26f22cd.png

html学习教程推荐:html入门教程)

立即学习“前端免费学习笔记(深入)”;

2、打开 用ctrl+f 查找 下面代码

"!!!": "{}",

找到下面代码块:

"cmd": "command","ri:d|ri:dpr": "img:s","ri:v|ri:viewport": "img:z","ri:a|ri:art": "pic>src:m+img","ri:t|ri:type": "pic>src:t+img","!!!": "{}",// "doc": "html[lang=${lang}]>(head>meta[charset=${charset}]+meta:vp+meta:edge+title{${1:Document}})+body","doc": "html>(head>meta[charset=${charset}]+title{${1:Document}})+body","!|html:5": "!!!+doc","c": "{}","cc:ie": "{}","cc:noie": "{${0}<!--}"};

275424ceb6a094b10bd10aa1f826406.png

然后输入下面代码:

"doc": "html>(head>meta[charset=${charset}]+title{${1:Document}})+body",

3、保存重启软件即可。

新建html文件,输入!+tab 即可出现默认html格式:

6175cd3b992ce4ca34fc9fbd297ba27.png

推荐教程:vscode教程

以上就是如何修改vscode中html的默认样式的详细内容,更多请关注创想鸟其它相关文章!

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 chuangxiangniao@163.com 举报,一经查实,本站将立刻删除。
发布者:程序猿,转转请注明出处:https://www.chuangxiangniao.com/p/64832.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
mysql如何创建数据表
上一篇 2025年11月11日 20:50:28
国庆专属鸿蒙有礼特别版上线!桌面右滑进入负一屏可领90元优惠
下一篇 2025年11月11日 20:52:30

相关推荐

发表回复

登录后才能评论
关注微信