编辑文件时不存在我的问题,例如:Visual Studio Code 中的 Spaces to tabs
保存文件时,VSC 会将所有制表符转换为空格。我怎么能阻止这种愚蠢的行为?
这是我的实际用户设置:
{
"editor.insertSpaces": false,
"editor.detectIndentation": false
}
更多信息:
"editor.formatOnSave": false
编辑文件时不存在我的问题,例如:Visual Studio Code 中的 Spaces to tabs
保存文件时,VSC 会将所有制表符转换为空格。我怎么能阻止这种愚蠢的行为?
这是我的实际用户设置:
{
"editor.insertSpaces": false,
"editor.detectIndentation": false
}
更多信息:
"editor.formatOnSave": false
我有一个覆盖默认行为的扩展:
https://marketplace.visualstudio.com/items?itemName=lonefy.vscode-JS-CSS-HTML-formatter