这里保存一下vscode的插件和配置信息{ // 以像素为单位控制字号。 “editor.fontSize”: 18, “files.autoSave”: “onFocusChange”, “editor.fontFamily”: “monospace, Consolas, ‘Courier New’”, “editor.mouseWheelZoom”: true, “editor.showFoldingControls”: “always”, “emmet.syntaxProfiles”: { “javascript”: “jsx”, “vue”: “html”, “vue-html”: “html” }, “git.ignoreMissingGitWarning”: true, “eslint.validate”: [ “javascript”, “javascriptreact”, { “language”: “vue”, “autoFix”: true } ], “eslint.options”: { “extensions”: [".js", “.vue”] }, “editor.renderIndentGuides”: true, “vetur.format.defaultFormatter.ts”: “vscode-typescript”, “vetur.format.defaultFormatter.html”: “js-beautify-html”, “vetur.format.defaultFormatterOptions”: { “js-beautify-html”: { “wrap_attributes”: “auto” // html的多个属性不换行 } }, “prettier.singleQuote”: true, “prettier.semi”: false, // “prettier.eslintIntegration”: true, “eslint.autoFixOnSave”: true, “editor.tabSize”: 2, “files.associations”: { “.vue”: “vue” }, “search.exclude”: { “/bower_components”: true, “/dist”: true }, “typescript.useCodeSnippetsOnMethodSuggest”: true, “file_peek.activeLanguages”: [ “typescript”, “javascript”, “python”, “vue” // 添加vue支持 ], “file_peek.searchFileExtensions”: [ “.js”, “.ts”, “.html”, “.css”, “.scss”, “.vue” // 添加vue支持 ], “javascript.format.insertSpaceBeforeFunctionParenthesis”: true, “typescript.format.insertSpaceBeforeFunctionParenthesis”: true, “explorer.confirmDragAndDrop”: false, “explorer.confirmDelete”: false, “vsicons.dontShowNewVersionMessage”: true, “search.location”: “panel”, “workbench.activityBar.visible”: true, “fileheader.Author”: “jiangyan6”, “fileheader.LastModifiedBy”: “jiangyan6”, “workbench.colorTheme”: “One Dark Pro”, “fileheader.tpl”: “/\r\n * @Author: {author} \r\n * @Date: {createTime} \r\n * @Last Modified by: {lastModifiedBy} \r\n * @Last Modified time: {updateTime} \r\n * @Desc: 文件名 \r\n */\r\n”, “workbench.editor.enablePreview”: false, “todohighlight.isEnable”: true, “LineCount.excludes”: [ “/.vscode/”, “/node_modules/”, “/dist/”, “/.history/” ]}