左上角“文件” --> 选择“首选项”–》“设置”
打开settings.json 文件,添加
“workbench.activityBar.orientation”: “vertical”,
“workbench.tree.indent”: 24,
将默认8改成8的倍数,2x8=16、3x8=24
{
"workbench.activityBar.orientation": "vertical",
"workbench.tree.indent": 24,
}
CTRL+S保存,效果如下
改成idea风格:在settings.json 文件,添加
“workbench.colorTheme”: “IntelliJ IDEA New UI Dark”, //需安装idea ui 插件
“editor.fontFamily”: “JetBrains Mono”, //设置字体
“editor.fontSize”: 18, //编辑器文字大小
“editor.lineHeight”: 1.5, //编辑器行高
{
"workbench.colorTheme": "IntelliJ IDEA New UI Dark",
"editor.fontFamily": "JetBrains Mono",
"editor.fontSize": 15,
"editor.lineHeight": 1.5,
}
效果对比