vscode配置settings.json

{
    "workbench.iconTheme": "vscode-icons",
    "[html]": {
        "editor.defaultFormatter": "vscode.html-language-features"
    },
    "[css]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[less]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[javascript]": {
        "editor.defaultFormatter": "vscode.typescript-language-features"
    },
    "editor.cursorBlinking": "smooth",
    "editor.fontFamily": "Consolas,Monospace",
    "editor.wordWrap": "on",
    "vsicons.dontShowNewVersionMessage": true,
    "editor.cursorStyle": "line", //光标为细竖线
    "editor.tabSize": 2, //缩进2个空格
    "javascript.format.insertSpaceBeforeFunctionParenthesis": true, //在方括号之间插入空格
    "vetur.format.defaultFormatter.js": "vscode-typescript",
    "explorer.confirmDelete": false,
    "[scss]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "editor.formatOnPaste": true,
    "editor.formatOnSave": true,
    "editor.formatOnType": true,
    "[json]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "emmet.includeLanguages": {
        "javascript": "javascriptreact"
    },
    "[javascriptreact]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "window.zoomLevel": 0,
    "liveServer.settings.donotShowInfoMsg": true,
    "guides.enabled": false,
    "workbench.colorTheme": "Dracula",
    "prettier.semi": true,
    "turboConsoleLog.addSemicolonInTheEnd": true,
    "javascript.format.insertSpaceAfterSemicolonInForStatements": true,
    "typescript.format.insertSpaceAfterSemicolonInForStatements": true,
    "[aspnetcorerazor]": {
    
},
"[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
    "editor.defaultFormatter": "octref.vetur"
},
"easysass.formats": [
 {
 "format": "compressed",
 "extension": ".css"
 }
 ],
 "autoprefixer.browsers": [
        "last 3 versions",
        "ie >= 10",
        "ie_mob >= 10",
        "ff >= 30",
        "chrome >= 34",
        "safari >= 6",
        "ios >= 6",
        "android >= 4.4"
    ]
}

 

你可能感兴趣的:(VScode)