settings.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. {
  2. "files.autoSave": "onFocusChange",
  3. "git.enableSmartCommit": true,
  4. "editor.tabSize": 2,
  5. "extensions.ignoreRecommendations": true,
  6. "editor.formatOnPaste": true,
  7. "explorer.confirmDelete": false,
  8. "emmet.triggerExpansionOnTab": true,
  9. "editor.codeActionsOnSave": {
  10. "source.fixAll.eslint": "explicit",
  11. "source.fixAll.prettier": "explicit"
  12. },
  13. "files.associations": {
  14. "*.vue": "vue",
  15. "*.cjson": "jsonc",
  16. "*.wxss": "css",
  17. "*.wxs": "javascript",
  18. "*.tsx": "typescriptreact",
  19. "*.wpy": "vue",
  20. "*.scss": "scss",
  21. "*.html": "html",
  22. "*.wxml": "wxml",
  23. "*.ts": "typescript"
  24. },
  25. "editor.minimap.enabled": false,
  26. "html.format.wrapLineLength": 260,
  27. "html.format.wrapAttributes": "preserve",
  28. "git.autofetch": true,
  29. "typescript.locale": "zh-CN",
  30. "git.confirmSync": false,
  31. "workbench.iconTheme": "vscode-icons",
  32. "javascript.updateImportsOnFileMove.enabled": "always",
  33. "[css]": {
  34. "editor.defaultFormatter": "aeschli.vscode-css-formatter"
  35. },
  36. "editor.formatOnType": true,
  37. "[javascript]": {
  38. "editor.defaultFormatter": "esbenp.prettier-vscode"
  39. },
  40. "[html]": {
  41. "editor.defaultFormatter": "vscode.html-language-features"
  42. },
  43. "vsicons.dontShowNewVersionMessage": true,
  44. "[jsonc]": {
  45. "editor.defaultFormatter": "vscode.json-language-features"
  46. },
  47. "[wxml]": {
  48. "editor.defaultFormatter": "qiu8310.minapp-vscode"
  49. },
  50. "emmet.includeLanguages": {
  51. "wxml": "html"
  52. },
  53. "minapp-vscode.disableAutoConfig": true,
  54. "editor.suggestSelection": "first",
  55. "[vue]": {},
  56. "git.ignoreMissingGitWarning": true,
  57. "workbench.editorAssociations": {
  58. "*.ipynb": "jupyter-notebook"
  59. },
  60. "minapp-vscode.sass": {},
  61. "wxmlConfig.format": {
  62. "brace_style": "collapse",
  63. "disable_automatic_closing_labels": true,
  64. "end_with_newline": false,
  65. "indent_char": " ",
  66. "indent_handlebars": false,
  67. "indent_inner_html": false,
  68. "indent_scripts": "keep",
  69. "indent_size": 2,
  70. "indent_with_tabs": false,
  71. "max_preserve_newlines": 1,
  72. "preserve_newlines": false,
  73. "unformatted": "['text']",
  74. "wrap_attributes": "auto",
  75. "wrap_attributes_count": 3
  76. },
  77. "minapp-vscode.formatMaxLineCharacters": 200,
  78. "minapp-vscode.prettier": {
  79. "useTabs": false,
  80. "tabWidth": 2,
  81. "printWidth": 200,
  82. "singleQuote": false
  83. },
  84. "wxmlConfig.tagNoActiveArr": [
  85. "view",
  86. "button",
  87. "text",
  88. "icon",
  89. "image",
  90. "navigator",
  91. "block",
  92. "input",
  93. "label",
  94. "template",
  95. "form",
  96. "camera",
  97. "textarea"
  98. ],
  99. "wxmlConfig.activeColor": {
  100. "color": "#e5c07b"
  101. },
  102. "editor.autoClosingDelete": "always",
  103. "html.autoClosingTags": false,
  104. "typescript.autoClosingTags": false,
  105. "auto-close-tag.enableAutoCloseSelfClosingTag": false,
  106. "search.followSymlinks": false,
  107. "todo-tree.highlights.defaultHighlight": {
  108. "icon": "alert",
  109. "type": "text",
  110. "opacity": 10,
  111. "gutterIcon": true
  112. },
  113. "todo-tree.highlights.customHighlight": {
  114. "TODO": {
  115. "icon": "check",
  116. "type": "line",
  117. "background": "#fff",
  118. "foreground": "#92ff7c",
  119. "iconColour": "#0f0"
  120. },
  121. "FIXME": {
  122. "background": "#fff",
  123. "foreground": "#dffd33",
  124. "iconColour": "#ff0"
  125. }
  126. },
  127. "svg.preview.mode": "svg",
  128. "[less]": {
  129. "editor.defaultFormatter": "michelemelluso.code-beautifier"
  130. },
  131. "editor.wordWrapColumn": 200,
  132. "[scss]": {
  133. "editor.defaultFormatter": "esbenp.prettier-vscode"
  134. },
  135. "npm.exclude": "**/{dist_electron,vendor}",
  136. "files.exclude": {
  137. "**/.DS_Store": true,
  138. "**/.git": true,
  139. "**/.hg": true,
  140. "**/.svn": true,
  141. "**/bower_components": true,
  142. "**/CVS": true,
  143. "**/jspm_packages": true,
  144. "**/tmp": true
  145. },
  146. "files.watcherExclude": {
  147. "**/.git/objects/**": true,
  148. "**/.git/subtree-cache/**": true,
  149. "**/node_modules/**": true,
  150. "**/tmp/**": true,
  151. "**/bower_components/**": true,
  152. "**/dist/**": true
  153. },
  154. "[json]": {
  155. "editor.defaultFormatter": "vscode.json-language-features"
  156. },
  157. "[typescript]": {
  158. "editor.defaultFormatter": "vscode.typescript-language-features"
  159. },
  160. "editor.inlineSuggest.enabled": true,
  161. "git.openRepositoryInParentFolders": "always",
  162. "prettier.semi": false,
  163. "diffEditor.ignoreTrimWhitespace": false,
  164. "workbench.editor.empty.hint": "hidden",
  165. "i18n-ally.localesPaths": [
  166. "src/i18n",
  167. "src/i18n/lang",
  168. "src/components/vue3cron/language"
  169. ],
  170. "vue.format.wrapAttributes": "preserve"
  171. }