VS code 代碼格式整理的配置
{
"workbench.iconTheme": "material-icon-theme",
"vetur.validation.template": true,
"vsicons.dontShowNewVersionMessage": true,
"editor.minimap.enabled": false,
"editor.fontSize": 16,
"emmet.includeLanguages": {
"vue-html": "html",
"javascript": "javascriptreact"
},
"window.zoomLevel": 0,
"workbench.activityBar.visible": true,
"window.menuBarVisibility": "default",
"workbench.statusBar.visible": true,
"editor.tabSize": 2,
"eslint.autoFixOnSave": true,
"files.associations": {
"*.vue": "vue"
},
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
"eslint.validate": [
"javascript",
"javascriptreact",
"vue",
"html",
"js"
],
"editor.tabCompletion": true,
"editor.quickSuggestions": {
"strings": true
},
"emmet.triggerExpansionOnTab": true,
"sync.gist": "3088e0a12a32cc763f995e21a356f36a",
"sync.lastUpload": "2018-03-04T02:50:04.711Z",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.lastDownload": "",
"sync.forceDownload": false,
// "sync.anonymousGist": false,
"sync.host": "",
"sync.pathPrefix": "",
"sync.quietSync": false,
"sync.askGistName": false,
"path-intellisense.mappings": {
"/": "${workspaceRoot}",
"src": "${workspaceRoot}-c"
},
"extensions.ignoreRecommendations": false,
"material-icon-theme.showWelcomeMessage": false,
// "element-helper.version": "",
"files.autoSave": "off",
// 以下為stylus配置
"stylusSupremacy.insertColons": false, // 是否插入冒號
"stylusSupremacy.insertSemicolons": false, // 是否插入分好
"stylusSupremacy.insertBraces": false, // 是否插入大括號
"stylusSupremacy.insertNewLineAroundImports": false, // import之後是否換行
"stylusSupremacy.insertNewLineAroundBlocks": false,
"git.confirmSync": false,
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatter.js": "vscode-typescript",
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
// "workbench.panel.location": "bottom",
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true,
"suppressUpdateNotice": false,
"su ppressWelcomeNotice": true
},
"team.showWelcomeMessage": false, // 兩個選擇器中是否換行
"git.path": "D:/Git/bin/git.exe",
"git.autofetch": true,
"files.exclude": {
"**/.git": false,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
},
"editor.multiCursorModifier": "ctrlCmd",
"element-helper.version": "2.3",
"semistandard._legacyModuleResolve": true,
"prettier.singleQuote": true,
"[markdown]": {
"editor.wordWrap": "on",
"editor.quickSuggestions": true
}
}
VS code 代碼格式整理的配置