开发环境配置
2018-11-22 本文已影响0人
Heart丶Center
1.安装vscode
安装以下插件
Auto Close Tag
Live Server
css peek
open in browser
view in browser
Path Autocomplete
HTML CSS Support
Auto Rename Tag
Color Highlight
在商店中搜索出插件,然后安装最新版的插件

配置快捷键
文件>>>>首选项>>>>键盘快捷方式

[
{
"key": "ctrl+d",
"command": "editor.action.deleteLines",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+/",
"command": "editor.action.blockComment",
"when": "editorTextFocus"
},
{
"key": "ctrl+w",
"command": "extension.openInDefaultBrowser"
},
{
"key": "alt+b",
"command": "-extension.openInDefaultBrowser"
}
]
将上面的代码复制到keybindings.json中

保存并退出