vscode setting

{
    "editor.tabSize": 2,
    "editor.lineHeight": 24,
    "editor.formatOnSave": true,
    "editor.fontSize": 16,
    "editor.quickSuggestions": {
        "strings": true,
        "other": true,
        "comments": true
    },
    // 注释
    "fileheader.configObj": {
        // 将该选项设置为true即可开启
        "autoAdd": false
    },
    // 头部注释
    "fileheader.customMade": {
        "Author": "lizhanchao",
        "Date": "Do not edit",
        "LastEditors": "lizhanchao",
        "LastEditTime": "Do not edit",
        "Description": "function"
    },
    // 函数注释
    "fileheader.cursorMode": {
        "Date": "Do not edit",
        "description": "methods",
        "param": ""
    },
    "prettier.printWidth": 120,
    "prettier.tabWidth": 4,
    "prettier.eslintIntegration": true,
    "prettier.semi": false,
    "prettier.singleQuote": true,
    "breadcrumbs.enabled": true,
    "emmet.showAbbreviationSuggestions": true,
    // vue设置
    "vetur.format.defaultFormatter.js": "vscode-typescript",
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    "vetur.validation.template": false,
    "vetur.format.options.tabSize": 2,
    // "vetur.format.defaultFormatterOptions": {
    //     "js-beautify-html": {
    //         "wrap_attributes": "force-aligned"
    //         // #vue组件中html代码格式化样式
    //     }
    // },
    "emmet.syntaxProfiles": {
        "vue-html": "html",
        "vue": "html"
    },
    "javascript.format.insertSpaceBeforeFunctionParenthesis": true,

    //Eslint配置
    // "eslint.autoFixOnSave": true, //自动保存
    "eslint.validate": [
        "javascript",
        "typescript",
        {
            "language": "html",
            "autoFix": true
        },
        {
            "language": "vue",
            "autoFix": true
        }
    ],
    "javascript.format.enable": false,
    "[javascript]": {
        "editor.defaultFormatter": "numso.prettier-standard-vscode"
    },
    "[jsonc]": {
        "editor.defaultFormatter": "HookyQR.beautify"
    },
    "[scss]": {
        "editor.defaultFormatter": "HookyQR.beautify"
    },
    "javascript.updateImportsOnFileMove.enabled": "always",
    "[html]": {
        "editor.defaultFormatter": "HookyQR.beautify"
    },
    "[css]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "window.zoomLevel": 0,
    "explorer.confirmDragAndDrop": false,
    "[less]": {
        "editor.defaultFormatter": "HookyQR.beautify"
    },
    "[vue]": {
        "editor.defaultFormatter": "octref.vetur"
    },
    "[json]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "cSpell.userWords": ["bottombottom", "lizhanchao", "westarspace"],
    "workbench.colorTheme": "One Dark Pro",
    "workbench.iconTheme": "material-icon-theme",
    "[typescript]": {
        "editor.defaultFormatter": "vscode.typescript-language-features"
    },
    "git.autofetch": true,
    "powermode.enabled": true, // 开启 Power Mode
    "powermode.shakeIntensity": 0, // 关闭抖动(喜欢的也可以选择不关闭)
    "powermode.presets": "particles",
    "todo-tree.tree.showScanModeButton": false,
    "tabnine.experimentalAutoImports": true,
    "cssrem.rootFontSize": 75 // 特效预设,还有 "fireworks", "flames", "magic", "clippy", "simple-rift", "exploding-rift"
}

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值