vscode 配置

{
    "window.zoomLevel": 0.6,
    "editor.tabSize": 2,
    "emmet.excludeLanguages": [
        "markdown"
    ],
    "editor.wordWrap": "on",
    "files.associations": {
        "*.vue": "vue"
    },
    "search.followSymlinks": false,
    // "css.validate": false,
    // "scss.validate": false,
    // "less.validate": false,
    // "vetur.validation.style": false,
    /** fileheader */
    "fileheader.Author": "sun",
    "fileheader.LastModifiedBy": "sun",
    "fileheader.tpl": "/*
 * @Page: {page}
 * @Author: {author}
 * @Date: {createTime}
 * @Last Modified by: {lastModifiedBy}
 * @Last Modified Time: {updateTime}
 */
",
    "breadcrumbs.enabled": true,
    "liveServer.settings.donotShowInfoMsg": true,
    "workbench.startupEditor": "newUntitledFile",
    "emmet.extensionsPath": "",
    "diffEditor.ignoreTrimWhitespace": false,
    "workbench.sideBar.location": "left",
    "gitlens.codeLens.scopes": [
        "document",
        "containers"
    ],
    "gitlens.hovers.currentLine.over": "line",

    /** eslint配置 */
    "editor.quickSuggestions": {
        "strings": true
    },
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "eslint.codeAction.showDocumentation": {
    

        "enable": true
    },
    "vetur.format.defaultFormatterOptions": {
        "prettier": {
            "semi": false, // 去掉自动分号
            "trailingComma": "none"
        }
    },
    "git.confirmSync": false,
    "workbench.iconTheme": "vscode-icons"
}
原文地址:https://www.cnblogs.com/zhongchao666/p/14536215.html