2.VS Code之我的settings


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
{
// 为指定的语法定义配置文件或使用带有特定规则的配置文件。
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html",
"javascript": "javascriptreact",
},

// 在jsx中使用emmet自动补全代码
"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"javascript": "html",
},

// Git 环境变量
"git.path": "D:/Program Files/Git/bin/",

// 配置文件关联,比如stylus使用css智能提示
"files.associations": {
"*.styl": "css",
"*.less": "css",
"*.sass": "css",
},

// 自动保存的时机
"files.autoSave": "onFocusChange",

// 控制是否显示工作台底部状态栏中的 Twitter 反馈 (笑脸图标)。
"workbench.statusBar.feedback.visible": false,
}