家中电脑的Vscode配置

点击查看代码
{
    "editor.renderControlCharacters": true,
    "http.proxySupport": "off",
    "editor.formatOnPaste": true,
    "editor.formatOnSave": true,
    "editor.codeActionsOnSave": {
        "source.fixAll": true,
        "source.organizeImports": true // import 导入排序
    },
    "editor.wordWrapColumn": 120,
    "workbench.statusBar.visible": true,
    "remote.SSH.showLoginTerminal": true,
    "workbench.activityBar.visible": true,
    // "workbench.sideBar.location": "left",
    "explorer.confirmDelete": false,
    "diffEditor.ignoreTrimWhitespace": false,
    "terminal.integrated.automationShell.windows": "H:\\Program Files\\Git\\bin\\bash.exe",
    "terminal.integrated.profiles.windows": {
        "Git-Bash": {
            "path": "H:\\Program Files\\Git\\bin\\bash.exe"
            // "path": "D:\\Program Files\\Git\\bin\\bash.exe"
        }
    },
    "remote.SSH.path": "H:\\Program Files\\Git\\bin\\bash.exe",
    "terminal.integrated.defaultProfile.windows": "Git-Bash",
    "files.autoGuessEncoding": true,
    "git.path": "H:\\Program Files\\Git\\bin\\git.exe",
    "workbench.colorTheme": "Default Light+",
    "files.associations": {
        "led.h": "c",
        "display.h": "c",
        "test.h": "c",
        "cmd.h": "c",
        "sys.h": "c",
        "light.h": "c",
        "door.h": "c",
        "main.h": "c"
    }, //工作台主题颜色
    "typescript.updateImportsOnFileMove.enabled": "always",
    "editor.formatOnSave": true, // 开启 vscode 文件路径导航
    // "tslint.autoFixOnSave": true, // #每次保存的时候将代码按tslint格式进行修复
    "eslint.autoFixOnSave": true, // #每次保存的时候将代码按eslint格式进行修复
    // "prettier.semi": false,//prettier 设置语句末尾不加分号
    "prettier.singleQuote": true, // prettier 设置强制单引号
    "vetur.format.defaultFormatter.js": "vscode-typescript", // #让vue中的js按编辑器自带的ts格式进行格式化 
    "window.enableMenuBarMnemonics": false,
    "liveServer.settings.donotShowInfoMsg": true,
    // "workbench.colorTheme": "Winter is Coming (Light)", //窗口.不启用菜单栏输入法,修改主题配色
    "workbench.colorTheme": "Default Light+",
    "workbench.colorCustomizations": { // 颜色设置
        // "foreground": "#75a478",
        "editor.background": "#C7EDCC",
        //"editor.background": "#C7EDCC",
        // "editor.background": "#c1d8ac",
        "sideBar.background": "#FAF9DE",
        "terminal.background": "#EAEAEF"
    },
    "editor.fontWeight": 800,
    "editor.fontSize": 18,
    "workbench.editor.enablePreview": false,
    "editor.rename.enablePreview": false,
    "markdown.preview.doubleClickToSwitchToEditor": false,
    "search.useReplacePreview": false,
    "[c]": {
        "editor.defaultFormatter": "xaver.clang-format"
    },
    "[cpp]": {
        "editor.defaultFormatter": "ms-vscode.cpptools"
    }, //null,
    /**/
}

posted on 2022-05-12 11:40  夏天师妹  阅读(37)  评论(0编辑  收藏  举报

导航