简体   繁体   English

如何在vs代码中更改代码前的空间

[英]how to change space before code in vs code

in my vscode there is too space for formating在我的 vscode 中,格式化空间太大
在此处输入图像描述

im getting this only when i am using java script what i want to be is something like this我只有在使用 java 脚本时才会得到这个我想要的是这样的
在此处输入图像描述

You can change it in你可以改变它

File > Preferences > Settings > Tab Size

    "editor.insertSpaces": true,
    "editor.tabSize": 4,

and set the number of spaces.并设置空格数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM