Blind configuration vscode

{

    "workbench.iconTheme": "vscode-icons",
    "editor.fontSize": 18,
    "window.zoomLevel": 1,
    // vue 配置
    "vetur.format.defaultFormatter.js": "vscode-typescript",
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    "emmet.includeLanguages": {// 配置vue react tab键标签自动补全
        "vue-html":"html",
        "vue":"html",
        "javascript": "javascriptreact",
        "typescript": "html",
    },
    "[javascriptreact]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "javascript.implicitProjectConfig.experimentalDecorators": true,
    "editor.cursorSmoothCaretAnimation": true,
    "[html]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "emmet.triggerExpansionOnTab": false,
    "[jsonc]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    // 代码震动
    // "powermode.enabled": true,
    // "powermode.presets": "fireworks",
    "terminal.integrated.fontSize": 15,
    "markdown.preview.fontSize": 16,
    "debug.console.fontSize": 15,
    "editor.fontLigatures": true,
    "editor.fontWeight": "500",
    "eslint.validate": [
        "javascript",
        "javascriptreact",
        {
            "language": "html",
            "autoFix": true
        },
        {
            "language": "vue",
            "autoFix": true
        }
    ],
    // 保存自动修复
    "eslint.autoFixOnSave": true,
    // jsx自动修复有问题,取消js的format
    "editor.formatOnSave": true,
    "editor.formatOnType": true,
    "editor.formatOnPaste": true,
    // Enable/disable default JavaScript formatter (For Prettier)
    "javascript.format.enable": true,
    "prettier.singleQuote": true,
    // 点击保存时,根据 eslint 规则自定修复,同时集成 prettier 到 eslint 中
    "prettier.eslintIntegration": true,
    "prettier.semi": false,
    "workbench.view.alwaysShowHeaderActions": true,
    // 终端配置
    "terminal.integrated.shell.windows": "cmd.exe",
    "terminal.integrated.env.windows": { 
        // 配置终端是cmder, 有个问题就是配置这个东西之后 单独写 ts文件 的话,不能自动编译
        "CMDER_ROOT": "C:\\cmder"
    },
    "terminal.integrated.shellArgs.windows": [ // 配置终端是 git的cmd
        "/k",
        "C:\\cmder\\vendor\\init.bat"
    ],
    "editor.lineHeight": 24,
    "explorer.confirmDelete": false,
    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[less]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "git.autofetch": true,
    "javascript.updateImportsOnFileMove.enabled": "always",
    "git.enableSmartCommit": true,
    "files.autoSave": "afterDelay",
    "zenMode.restore": true,
    "terminal.integrated.fontFamily": "monospace",
    "workbench.startupEditor": "newUntitledFile",
    "[css]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "editor.quickSuggestions": {
        "strings": true
    },
    "editor.tabSize": 2,
    "workbench.colorTheme": "Tinacious Design",
    "editor.largeFileOptimizations": false,
    "editor.suggestSelection": "first",
    "files.associations": {
        "*.cjson": "jsonc",
        "*.wxss": "css",
        "*.wxs": "javascript",
        "*.js": "javascriptreact"
    },
    "vsicons.dontShowNewVersionMessage": true,
    "eslint.alwaysShowStatus": true,
    "javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": true,
    "prettier.jsxBracketSameLine": true,
    "prettier.jsxSingleQuote": true,
    "typescript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": true
}

 

Published 63 original articles · won praise 100 · views 310 000 +

Guess you like

Origin blog.csdn.net/qq_36407748/article/details/89012838