如何让 VS Code 变成你的开发神器?
发表于 2019-09-02
默认高频率快捷键
描述 | mac | window |
---|---|---|
文件内搜索内容 | command + F | ctrl + F |
文件内替换 | 无 | ctrl + H |
全文搜索内容 | command + shift + F | ctrl + shift + F |
全局搜索文件 | command + P | ctrl + P |
当前行上移/下移 | option + ↑ / ↓ | alt + ↑ / ↓ |
复制当前行在上方/下方 | option+ shift + ↑ / ↓ | alt + shift + ↑ / ↓ |
删除当前行 | command + x(不选中内容的时候剪切就能删除当前行) | ctrl + x |
合并当前行 | control + J | 无 |
以单词为单位移动 | option + ← / → | ctrl + ← / → |
移到行首/行尾 | command + ← / → | home / end |
键盘多光标 | option + ↑ / ↓ | |
鼠标多光标 | option + 鼠标左键 | alt + 鼠标左键 |
选中同样的全部内容 | option + shift + L | alt + shift + L |
侧边栏开关 | command + B | ctrl + B |
控制台开关 | command + J | ctrl + J |