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 @   风别鹤  阅读(114)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
点击右上角即可分享
微信分享提示