file-->preferenses-->setting
搜索框搜tabsize,修改为想要的缩进值,这里我设置的是2

要是设置了之后发现没有生效的话,那么就继续在搜索框那边搜editor.detectIndentation ,将这一项修改为false即可

file-->preferenses-->setting
搜索框搜tabsize,修改为想要的缩进值,这里我设置的是2
要是设置了之后发现没有生效的话,那么就继续在搜索框那边搜editor.detectIndentation ,将这一项修改为false即可
本文标题:修改vscode的缩进
本文链接:https://www.haomeiwen.com/subject/kjkhpctx.html
网友评论