vscode配置

插件

  1. Beautify
  2. chinese Language
  3. open in browser
  4. Vetur
  5. minapp

settings.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"window.zoomLevel": 1,
"markdown.preview.fontSize": 16,
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[javascript]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[json]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"editor.wordWrap": "on",
"files.associations": {
"*.tpl": "html",
".easymockrc": "json"
},
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "force-aligned"
}
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"window.zoomLevel": 1,
"markdown.preview.fontSize": 16,
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.wordWrap": "on",
"files.associations": {
"*.tpl": "html",
".easymockrc": "json",
"*.vue": "vue",
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript"
},
"editor.hideCursorInOverviewRuler": true,
"editor.hover.enabled": false,
"editor.autoClosingBrackets": "always",
"workbench.sideBar.location": "left",
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"vetur.format.defaultFormatter.html": "js-beautify-html",
"prettier.singleQuote": true,
"prettier.semi": false,
"emmet.includeLanguages": {
"wxml": "html",
"javascript": "html",
"velocity": "html"
},
"minapp-vscode.disableAutoConfig": true,
"eslint.enable": false,
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "html",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
}
],
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"liveServer.settings.donotShowInfoMsg": true,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.iconTheme": "vscode-icons"
}