如何解决默认格式化程序在我的html中删除分号
我有以下.vscode
{
"editor.formatOnSave": true,"editor.defaultFormatter": "esbenp.prettier-vscode","editor.codeActionsOnSave": {
"source.fixAll.tslint": true,"source.fixAll.stylelint": true
},"typescript.tsdk": "node_modules/typescript/lib"
}
和以下html
<span style="margin-right: 10px;">
保存时,它变成了我不需要的<span style="margin-right: 10px">
(不再用分号)。
我尝试删除所有设置,仅保留"editor.formatOnSave": true,
但是它仍然做同样的事情。
什么是没有这种行为的格式化程序?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。