settings.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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": "auto",
  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. },
  57. "git.ignoreMissingGitWarning": true,
  58. "workbench.editorAssociations": {
  59. "*.ipynb": "jupyter-notebook"
  60. },
  61. "minapp-vscode.sass": {},
  62. "wxmlConfig.format": {
  63. "brace_style": "collapse",
  64. "disable_automatic_closing_labels": true,
  65. "end_with_newline": false,
  66. "indent_char": " ",
  67. "indent_handlebars": false,
  68. "indent_inner_html": false,
  69. "indent_scripts": "keep",
  70. "indent_size": 2,
  71. "indent_with_tabs": false,
  72. "max_preserve_newlines": 1,
  73. "preserve_newlines": false,
  74. "unformatted": "['text']",
  75. "wrap_attributes": "auto",
  76. "wrap_attributes_count": 3
  77. },
  78. "minapp-vscode.formatMaxLineCharacters": 200,
  79. "minapp-vscode.prettier": {
  80. "useTabs": false,
  81. "tabWidth": 2,
  82. "printWidth": 200,
  83. "singleQuote": false
  84. },
  85. "wxmlConfig.tagNoActiveArr": [
  86. "view",
  87. "button",
  88. "text",
  89. "icon",
  90. "image",
  91. "navigator",
  92. "block",
  93. "input",
  94. "label",
  95. "template",
  96. "form",
  97. "camera",
  98. "textarea"
  99. ],
  100. "wxmlConfig.activeColor": {
  101. "color": "#e5c07b"
  102. },
  103. "editor.autoClosingDelete": "always",
  104. "html.autoClosingTags": false,
  105. "typescript.autoClosingTags": false,
  106. "auto-close-tag.enableAutoCloseSelfClosingTag": false,
  107. "search.followSymlinks": false,
  108. "todo-tree.highlights.defaultHighlight": {
  109. "icon": "alert",
  110. "type": "text",
  111. "opacity": 10,
  112. "gutterIcon": true
  113. },
  114. "todo-tree.highlights.customHighlight": {
  115. "TODO": {
  116. "icon": "check",
  117. "type": "line",
  118. "background": "#fff",
  119. "foreground": "#92ff7c",
  120. "iconColour": "#0f0"
  121. },
  122. "FIXME": {
  123. "background": "#fff",
  124. "foreground": "#dffd33",
  125. "iconColour": "#ff0"
  126. }
  127. },
  128. "svg.preview.mode": "svg",
  129. "[less]": {
  130. "editor.defaultFormatter": "michelemelluso.code-beautifier"
  131. },
  132. "editor.wordWrapColumn": 200,
  133. "[scss]": {
  134. "editor.defaultFormatter": "esbenp.prettier-vscode"
  135. },
  136. "npm.exclude": "**/{dist_electron,vendor}",
  137. "files.exclude": {
  138. "**/.DS_Store": true,
  139. "**/.git": true,
  140. "**/.hg": true,
  141. "**/.svn": true,
  142. "**/bower_components": true,
  143. "**/CVS": true,
  144. "**/jspm_packages": true,
  145. "**/tmp": true
  146. },
  147. "files.watcherExclude": {
  148. "**/.git/objects/**": true,
  149. "**/.git/subtree-cache/**": true,
  150. "**/node_modules/**": true,
  151. "**/tmp/**": true,
  152. "**/bower_components/**": true,
  153. "**/dist/**": true
  154. },
  155. "[json]": {
  156. "editor.defaultFormatter": "vscode.json-language-features"
  157. },
  158. "[typescript]": {
  159. "editor.defaultFormatter": "vscode.typescript-language-features"
  160. },
  161. "editor.inlineSuggest.enabled": true,
  162. "git.openRepositoryInParentFolders": "always",
  163. "prettier.semi": false,
  164. "diffEditor.ignoreTrimWhitespace": false,
  165. "workbench.editor.empty.hint": "hidden"
  166. }