本文档用于记录vscode的使用技巧,持续更新中html
github: https://github.com/abc-club/f...前端
更多前端资源尽在 https://github.com/abc-club/f...vue
搜索当前文件git
Windows: Ctrl + F Mac: Command + F
搜索全部文件github
Windows: Ctrl + Shift + F Mac: Command + Shift + F
Windows: Ctrl + Shift + T Mac: command + Shift + T
打开关闭终端npm
Ctrl + `
终端+1app
Ctrl + Shift + `
终端分屏编辑器
Mac: command + \
Mac: command+ `
Windows: Ctrl + Alt +右箭头 Mac: Control + Option +右箭头 Windows: Ctrl + Alt +左箭头 Mac: Control + Option +左箭头
Windows: Ctrl + F2 Mac: command + F2
Windows: Alt + 向上箭头 Mac: option+ 向上箭头
Windows: Ctrl + Alt +向上箭头 Mac: command + Option +向上箭头
带星的为极力推荐的插件post
修改html标签时自动帮咱们重命名spa
注释js代码
这个插件会用项目里的.editorconfig文件覆盖vscode的设置
eslint检查代码规范
git历史
每一个文件每行都会显示修改信息,很是推荐
cmd/ctrl+click跳转到npmjs.com
自动填写npm模块
显示npm包引入的版本号,支持js ts vue
自动填写文件路径
美化
同步vscode设置,很是推荐
使用vue就装上
快速生成文件头注释
文件根据不一样后缀显示不一样的图标
自动引入依赖包
美化代码
在后台检查npm包是否能够更新,并会提示你
显示文件大小
高亮选中的行
高亮匹配的标签
用div包裹选中的代码,ctrl+i
在编辑器左侧显示图片缩略图
起一个服务
支持跑npm脚本
更新依赖包
对比不一样
匹配括号
快速的添加console
记录你用vscode工做的时间,项目等