VSCODE在保存时通过格式插入空格 [英] VSCODE inserting spaces via format on save
本文介绍了VSCODE在保存时通过格式插入空格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
VSCODE 似乎在我的 html 代码中到处插入空格.我检查了设置,是以下原因造成的:"editor.formatOnSave": true
VSCODE seems to be inserting spaces everywhere in my html code. I checked the settings and it's the following which is causing it: "editor.formatOnSave": true
示例:
如何配置它以停止插入空格?
How do I configure this to stop inserting spaces?
推荐答案
我有以下设置:
"editor.formatOnSave": false,
"editor.insertSpaces": false
现在不插入空格了.希望有帮助
Now it is not inserting spaces. Hope it helps
这篇关于VSCODE在保存时通过格式插入空格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文