vscode配置

个人配置项目

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
59
60
61
62
63
64
65
66
67
{
// 保存时设置文件的格式。格式化程序必须可用,不能自动保存文件,并且不能关闭编辑器。
"editor.formatOnSave": false,
// 默认打开缩进线插件
"guides.overrideDefault": true,
// tab展开html标签
"emmet.triggerExpansionOnTab":true
,
// 默认缩进
"editor.tabSize": 2,
// 禁止根据文件类型自动设置tabsize的选项
"editor.detectIndentation": false,
"editor.wordWrap": "on",
"files.autoSave": "off",
"eslint.validate": [
// "javascript",
// "javascriptreact",
// "html",
// { "language": "vue", "autoFix": true }
// { "language": "html", "autoFix": false }
],
"eslint.options": {
"plugins": [
"html"
]
},
// 自动格式化代码
"eslint.autoFixOnSave": false,
// 控制字体系列。
"editor.fontFamily": "Source Code Pro, Menlo, Monaco, 'Courier New', monospace",
"workbench.colorTheme": "Atom One Dark",
"editor.renderIndentGuides": false,
"sync.gist": "48b0f2c1f62b9f48854bb24e8a4a21fb",
"sync.lastUpload": "2017-11-14T11:04:45.359Z",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.lastDownload": "",
"sync.forceDownload": false,
// "sync.anonymousGist": false,
"sync.host": "",
"sync.pathPrefix": "",
"sync.quietSync": false,
"sync.askGistName": false,
"explorer.confirmDelete": false,
// 启动markdown的自动预览功能
"markdown.extension.preview.autoShowPreviewToSide": true,
// 禁用js默认自动验证
"javascript.validate.enable": false,
// 启用基于standard的自动修复功能
"standard.autoFixOnSave": true,
// 自定义作者名称
"fileheader.Author": "lvkunpeng",
"fileheader.LastModifiedBy": "lvkunpeng",
// SVN设置:忽略文件夹
"svn.multipleFolders.ignore": [
"**/.git",
"**/.hg",
"**/vendor",
"**/node_modules",
"**/turbo"
],
"vsicons.dontShowNewVersionMessage": true,
"workbench.panel.location": "bottom",
"gitlens.advanced.messages": {
"suppressShowKeyBindingsNotice": true
}
}

插件列表

  • Atom One Dark
  • Auto Close Tag
  • Bracket Pair Colorizer 括号颜色 对齐线颜色
  • Code Outline
  • Code Runner
  • Color Highlight
  • Debugger for Chrome
  • EditorConfig for VS Code
  • ESLint
  • Git History
  • Guides(对齐线)
  • HTML CSS Support
  • HTML Snippets(闭合标签)
  • Markdown All in One
  • Node modules resolve
  • open in browser
  • Output Colorizer
  • Path Intellisense
  • Prettify JSON(JSON规范化)
  • Project Manager
  • Settings Sync
  • SVG Viewer
  • Twig
  • Vetur
  • vscode-icons
  • VueHelper