vscode配置文件(Vue项目)

{
    "workbench.editor.showTabs": true,
    "files.associations": {
        "*.cjson": "jsonc",
        "*.wxss": "css",
        "*.wxs": "javascript"
    },
    "emmet.includeLanguages": {
        "wxml": "html"
    },
    "editor.wordWrap": "on",
    "eslint.validate": [
        {
            "language": "vue",
            "autoFix": true,
        },
        {
            "language": "html",
            "autoFix": true
        },
        {
            "language": "javascript",
            "autoFix": true
        }
    ],
    // #每次保存的时候自动格式化 
    "editor.formatOnSave": true,
    // #每次保存的时候将代码按eslint格式进行修复
    "eslint.autoFixOnSave": true,
    "eslint.alwaysShowStatus": true,
    "css.validate": false,
    "scss.validate": false,
    "less.validate": false,
    "vetur.validation.style": false,
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "window.zoomLevel": 0,
    "editor.fontSize": 16,
    "terminal.integrated.fontSize": 16,
    "atomKeymap.promptV3Features": true,
    "editor.formatOnPaste": true,
    "editor.fontLigatures": true,
    "diffEditor.ignoreTrimWhitespace": false,
    "debug.node.autoAttach": "off",
    "editor.minimap.maxColumn": 20,
    "workbench.editor.showIcons": true,
    "workbench.editor.tabCloseButton": "off",
    "explorer.confirmDelete": false,
    "editor.quickSuggestions": {
        "other": true,
        "comments": true,
        "strings": true
    },
    "editor.parameterHints.enabled": false,
    "apicloud.port": "9999",
    "[html]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "git.autofetch": true,
    "editor.renderWhitespace": "none",
    "editor.minimap.enabled": false,
    "breadcrumbs.enabled": false,
    "editor.renderControlCharacters": false,
    "apicloud.subdirectories": "/build_common",
    "files.autoSave": "onFocusChange",
    "apicloud.start_wifi": true,
}

 

你可能感兴趣的:(VS,code配置)