vscode-settings.json

488 阅读1分钟

{ "editor.fontSize": 16, "editor.quickSuggestions": { "strings": true }, "kite.showWelcomeNotificationOnStartup": false, "python.showStartPage": false, // vscode默认启用了根据文件类型自动设置tabsize的选项 "editor.detectIndentation": false, "workbench.iconTheme": "vscode-great-icons", "typescript.locale": "zh-CN", "javascript.format.insertSpaceBeforeFunctionParenthesis": true, //让函数(名)和后面的括号之间加个空格 "javascript.updateImportsOnFileMove.enabled": "always", "element-helper.version": "2.5", "editor.tabSize": 2, // tab空格 "editor.formatOnSave": true, // 每次保存的时候自动格式化 "eslint.autoFixOnSave": true, "extensions.ignoreRecommendations": true, "eslint.validate": [ "javascript", "javascriptreact", { "language": "html", "autoFix": true }, { "language": "vue", "autoFix": true } ], "eslint.options": { "extensions": [ ".js", ".vue", ".ts" ] }, "eslint.enable": true, "eslint.run": "onType", "[javascript]": { "editor.defaultFormatter": "vscode.typescript-language-features" }, "files.associations": { ".cjson": "jsonc", ".wxss": "css", "*.wxs": "javascript" }, "emmet.includeLanguages": { "wxml": "html" }, "minapp-vscode.disableAutoConfig": true, "vsicons.dontShowNewVersionMessage": true, "prettier.disableLanguages": [ "vue" ], "prettier.eslintIntegration": true, // 让prettier使用eslint的代码格式进行校验 "prettier.semi": false, // 去掉代码结尾的分号 "prettier.singleQuote": true, // 使用单引号替代双引号 "vetur.format.defaultFormatter.stylus": "stylus-supremacy", "vetur.format.defaultFormatter.html": "js-beautify-html", "vetur.format.defaultFormatter.js": "vscode-typescript", // #让vue中的js按编辑器自带的ts格式进行格式化 "vetur.format.defaultFormatterOptions": { "js-beautify-html": { // #vue组件中html代码格式化样式 "wrap_attributes": "force", // "aligned-multiple" , "force-aligned" , //属性强制折行对齐 "end_with_newline": true }, }, "vetur.validation.template": false, "workbench.settings.useSplitJSON": true, "diffEditor.ignoreTrimWhitespace": false, "search.exclude": { "/node_modules": true, "/bower_components": true, "**/dist": true }, "eslint.migration.2_x": "off", "json.schemas": [], "launch": {}, "leek-fund.fundSort": 0, "window.zoomLevel": 1, "editor.fontLigatures": null, }