vscode 配置文件

{
    "workbench.iconTheme": "vscode-icons",
    "editor.quickSuggestions": {
        "strings": true
    },
     //添加 @description 的选项
    "docthis.includeDescriptionTag": true,
    //sync插件所生成的gisId 用于同步本地插件到远程
    "sync.gist": "2d34aaa3586126b9d0ef5a2d3fbb1afc",
    //path-intellisense插件映射到别名@,用于路径自动提示
    "path-intellisense.mappings": {
        "@": "${workspaceRoot}/src"
    },
    // koroFileHeader 插件,自动生成头部注释
    "fileheader.customMade":{
        "Author":"jinjianwei",
        "Date":"Do not edit",
        "Description":"Do not edit"
    },
    "fileheader.cursorMode": {}, // 自动生成函数注释 

    "bracket-pair-colorizer-2.depreciation-notice": false,
    
    "alignment.surroundSpace": {


        "colon": [
            0,
            1
        ],
        "assignment": [
            1,
            1
        ],
        "arrow": [
            1,
            1
        ],
        "comment": 2
    },

        "settings": {
            "liveServer.settings.AdvanceCustomBrowserCmdLine": "",
            "liveServer.settings.CustomBrowser": "chrome",
            "editor.fontsize": 14,
            "editor.formatOnSave": true
        },
        "editor.tabSize": 2,
        "[javascriptreact]": {
            "editor.defaultFormatter": "vscode.typescript-language-features"
        },
        "[javascript]": {
            "editor.defaultFormatter": "vscode.typescript-language-features"
        },
        "editor.fontSize": 14.5,
        "[html]": {
            "editor.defaultFormatter": "vscode.html-language-features"
        },
        
        "editor.suggest.snippetsPreventQuickSuggestions": false,
        "[vue]": {
            "editor.defaultFormatter": "octref.vetur"
        },
        "editor.minimap.enabled": false,
        "workbench.activityBar.visible": true,
        "standard.autoFixOnSave": true,
        "emmet.syntaxProfiles": {
            "vue-html": "html",
            "vue": "html"
        },
        "emmet.triggerExpansionOnTab": true,
        
        "editor.formatOnType": true,
        "editor.formatOnSave": true,
        //配置eslint
        "editor.codeActionsOnSave": {
            "source.fixAll.eslint": true
        },
        "eslint.format.enable": true,
        //autoFix默认开启,只需输入字符串数组即可
        "eslint.validate": [
            "javascript",
            "vue",
            "html"
        ],
        "launch": {
            "configurations": [],
            "compounds": []
        },
        "vetur.format.defaultFormatterOptions": {
            "prettier": {
                "semi": false,
                "singleQuote": true,
                "printWidth": 200,
                "trailingComma": "none"
            }
        },
        "javascript.format.insertSpaceBeforeFunctionParenthesis": false,
        "git.enableSmartCommit": true,
        "git.confirmSync": false,
        
    
    
}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值