vscode setting.json (@vue/eslint-config-prettier)

时光毁灭记忆、已成空白 提交于 2019-12-05 16:36:25
{
    "workbench.colorTheme": "Default Light+", // 主题
    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe", // trrminal
    "git.path": "D:\\Git\\bin\\git.exe", // git
    "files.autoSave": "onFocusChange", // 自动保存
    "files.associations": {
        "*.vue": "html"
    },
    "emmet.triggerExpansionOnTab": true, // tab补全
    "emmet.includeLanguages": {
        "vue-html": "html",
        "vue": "html"
    },
    "editor.tabSize": 2,
    "editor.minimap.enabled": false,
    "editor.foldingStrategy": "indentation",
    "editor.formatOnSave": true, // 保存时自动匹配
    "[javascript]": {
        "editor.formatOnSave": true //保存时自动规范代码
    },
    "[html]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[css]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[less]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    }
}

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!