2019-08-03 分享下 vscode 的配置

vscode的配置 用了 1 年多的
插件 gitLens vetur ESLint Auto Close Tag

{
    "editor.formatOnSave": false,
    "vetur.format.scriptInitialIndent": true,
    "vetur.format.styleInitialIndent": true,
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    "vetur.format.defaultFormatterOptions": {
        "js-beautify-html": {
            "wrap_attributes": "force-aligned"
        }
    },
    "vetur.format.defaultFormatter.js": "vscode-typescript",
    "javascript.format.insertSpaceBeforeFunctionParenthesis": true,
    "gitlens.advanced.messages": {
        "suppressShowKeyBindingsNotice": true
    },
    "editor.quickSuggestions": {
        "strings": true
    },
    "eslint.autoFixOnSave": false,
    "eslint.alwaysShowStatus": true,
    "eslint.validate": [
        {
            "language": "html",
            "autoFix": true
        },
        {
            "language": "vue",
            "autoFix": true
        },
        {
            "language": "javascript",
            "autoFix": true
        },
        {
            "language": "javascriptreact",
            "autoFix": true
        }
    ],
    "workbench.colorTheme": "Monokai",
    "window.zoomLevel": 1,
    "git.autofetch": true,
    "git.confirmSync": false,
    "gitlens.historyExplorer.enabled": false,
    "workbench.startupEditor": "newUntitledFile",
    "explorer.confirmDelete": false,
    "workbench.sideBar.location": "left",
    "debug.console.fontSize": 14,
    "terminal.integrated.fontSize": 14,
    "editor.fontSize": 14,
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "diffEditor.ignoreTrimWhitespace": false,
    "terminal.integrated.rendererType": "dom",
    "vsicons.dontShowNewVersionMessage": true
}

你可能感兴趣的:(2019-08-03 分享下 vscode 的配置)