VScode根据不同语言设置不同tab代表的空格个数

参考:VScode根据不同语言设置不同tab代表的空格个数
修改:settings.json

{
    "editor.minimap.enabled": true,
    "update.enableWindowsBackgroundUpdates": false,
    "update.showReleaseNotes": false,
    "update.mode": "none",
    "editor.mouseWheelZoom": true,
    "workbench.colorTheme": "Quiet Light",
    "[plaintext]": {},
    "cmake.cmakePath": "E:/Software/Program/CMake/cmake-3.13.3-win64-x64/bin/cmake.exe",
    "workbench.iconTheme": "vscode-icons",
    "editor.fontWeight": "600",
    "editor.fontSize": 16,
    "editor.tabSize": 2,
    "editor.formatOnPaste": true,
    "python.pythonPath": "C:\\Users\\octob\\AppData\\Local\\Programs\\Python\\Python37\\python.exe",
    "editor.detectIndentation": false,
    "window.menuBarVisibility": "default",
    "files.associations": {
      "*.PU": "plantuml"
    },
    "editor.fontLigatures": null,
    //"clang-format.executable": "clang-format"
    "[javascript]": {
        "editor.tabSize": 2
    },
    "[html]": {
        "editor.tabSize": 2
    },
    "[json]": {
        "editor.tabSize": 2
    },
    "[css]": {
        "editor.tabSize": 2
    },
    "[xml]": {
        "editor.tabSize": 4
    },
}

posted on 2021-09-14 11:19  OctoberKey  阅读(256)  评论(0)    收藏  举报

导航