问题描述
我有以下.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 (将#修改为@)