Visual Studio Code 设置TabSize

Visual Studio Code 设置TabSize

设置修改

因为vscode默认启用了根据文件类型自动设置tabsize的选项,在设置中添加:

  "editor.detectIndentation": false,

重新设定tabsize

"editor.detectIndentation": false,
"editor.tabSize": 2,

重启即可

猜你喜欢

转载自blog.csdn.net/weixin_36934930/article/details/79289321