vscode常用功能配置

 settings.json里复制下面代码

{
    "workbench.sideBar.location": "left",
    "editor.fontSize": 18,
    "git.confirmSync": false,
    "git.autofetch": true,
    "eslint.run": "onSave",
    "workbench.iconTheme": "vscode-icons",
    "explorer.confirmDelete": false,
    "git.enableSmartCommit": true,
    "window.zoomLevel": 0,
    "vsicons.dontShowNewVersionMessage": true,
    "editor.wordWrap": "on",
    "files.autoSave": "onWindowChange",
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "terminal.integrated.fontSize": 14,
    "gitlens.advanced.messages": {
        "suppressCommitHasNoPreviousCommitWarning": true,
        "suppressFileNotUnderSourceControlWarning": true
    },
    "explorer.confirmDragAndDrop": false,
    "debug.chrome.useV3": true,
    "workbench.startupEditor": "newUntitledFile",
    "diffEditor.renderSideBySide": true,
    "gitlens.gitCommands.closeOnFocusOut": true,
    "debug.console.fontSize": 15,
    "workbench.colorTheme": "Visual Studio Light",
    "gitlens.advanced.blame.customArguments": [],
    "liveServer.settings.donotShowInfoMsg": true,
}

功能说明:
自动格式化代码
自动闭合代码
小括号花括号颜色区分
git版本树
1000ms后自动保存
字体大小18px
原文地址:https://www.cnblogs.com/hellofangfang/p/14010320.html