Vscode---->setting.json配置使用

  

 1 {
 2     "editor.minimap.enabled": false,
 3     "files.associations": {
 4         "*.cjson": "jsonc",
 5         "*.wxss": "css",
 6         "*.wxs": "javascript"
 7     },
 8     "emmet.includeLanguages": {
 9         "wxml": "html"
10     },
11     "minapp-vscode.disableAutoConfig": true,
12     "git.autofetch": true,
13     "workbench.iconTheme": "material-icon-theme",
14     "vetur.format.defaultFormatter.html": "js-beautify-html",
15     "eslint.codeActionsOnSave.mode": "all",
16     "editor.codeActionsOnSave": {
17         "source.fixAll.eslint": false
18     },
19     "eslint.validate": [
20         "javascript",
21         "javascriptreact",
22         "vue",
23         "jsx"
24     ],
25     "[jsonc]": {
26         "editor.defaultFormatter": "vscode.json-language-features"
27     },
28     "[json]": {
29         "editor.defaultFormatter": "vscode.json-language-features"
30     },
31     "[vue]": {
32         "editor.defaultFormatter": "esbenp.prettier-vscode"
33     },
34     "[html]": {
35         "editor.defaultFormatter": "vscode.html-language-features"
36     },
37     "[javascript]": {
38         "editor.defaultFormatter": "esbenp.prettier-vscode"
39     },
40     "vetur.format.options.tabSize": 4,
41     "prettier.singleQuote": true,
42     "prettier.jsxBracketSameLine": true,
43     "editor.formatOnSave": true,
44     "prettier.jsxSingleQuote": true,
45     "prettier.tabWidth": 4,
46     "prettier.trailingComma": "all",
47     "prettier.bracketSpacing": false,
48     "prettier.arrowParens": "avoid",
49     "prettier.printWidth": 500,
50     "prettier.proseWrap": "never"
51 }

 

Vscode---->setting.json配置使用

上一篇:[WebGL]Shader中的数据和简单的工作流


下一篇:CSS快速上手教程