VS Code

文件操作:
查找文件:Command + P
查找声名:Command + Shift + O

 

编辑操作:
查找:Command + F
替换:Command + Option + F
全局查找:Command + Shift + F
全局替换:Command + Shift + H
自动import:Option + Shift + O
复制一行:Shift + Option + 上/下箭头
选中整行:Command + L
注释代码:Command + /
注释块:Option + Shift + A
格式化代码:Option + Shift + F

移动行: Option + up/down


调试操作:
启动调试:F5
停止调试:Shift + F5
设置断点:点击行号区域或使用 F9
单步执行:F10(逐语句)和 F11(逐过程)


typescipt 代码格式化设置

Control + , 选择 typescript

或者 setting --> 选择 typescript

 

统一团队代码格式化
导出格式化设置:Profiles --> Export Profile... --> 勾选 Settings
导入格式化设置:Profiles --> Import Profile...  --> 勾选 Settings

wujinhong/no-any: types and no any (github.com)


其他常用操作:
打开终端:Control + `
打开命令面板:Command + Shift + P

posted @ 2023-07-12 04:41  风别鹤  阅读(71)  评论(0编辑  收藏  举报