美文网首页
VS Code 设置文件

VS Code 设置文件

作者: 别来无恙_ly | 来源:发表于2021-08-17 09:48 被阅读0次
{
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "workbench.colorTheme": "Default Dark+",
    "[vue]": {
        "editor.defaultFormatter": "yoyo930021.vuter"
    },
    "background.customImages": [
        "file:///D:/00/1.jpg"
    ],
    "background.style": {
        "content": "''",
        "pointer-events": "none",
        "position": "absolute", //图片位置
        "width": "100%",
        "height": "100%",
        "z-index": "99999",
        "background.repeat": "no-repeat",
        "background-size": "100%,100%", //图片大小
        "opacity": 0.1 //透明度
    },
    "editor.fontSize": 16, //编辑器字体大小
    //vue格式化工具
    "editor.insertSpaces": false,
    "workbench.editor.enablePreview": false, //打开文件不覆盖
    "search.followSymlinks": false, //关闭rg.exe进程
    "editor.minimap.enabled": false, //关闭快速预览
    "files.autoSave": "afterDelay", //编辑自动保存
    "editor.lineNumbers": "on", //开启行数提示
    "editor.quickSuggestions": {
        //开启自动显示建议
        "other": true,
        "comments": true,
        "strings": true
    },
    "editor.tabSize": 2, //制表符符号eslint
    "editor.formatOnSave": true, //每次保存自动格式化
    //"javascript.format.insertSpaceBeforeFunctionParenthesis": true, //让函数(名)和后面的括号之间加个空格
    //"vetur.format.defaultFormatter.html": "js-beautify-html", //格式化.vue中html
    // "eslint.validate": [
    //     "vue",
    //     "javascript",
    //     "typescript",
    //     "typescriptreact",
    //     "html"
    // ],
    //按eslint格式保存
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "git.autofetch": true
}

相关文章

网友评论

      本文标题:VS Code 设置文件

      本文链接:https://www.haomeiwen.com/subject/gwpbbltx.html