Skip to content

Instantly share code, notes, and snippets.

@happyj2me
Last active May 17, 2019 03:46
Show Gist options
  • Save happyj2me/18f73f035b7245ce2d38f31763280900 to your computer and use it in GitHub Desktop.
Save happyj2me/18f73f035b7245ce2d38f31763280900 to your computer and use it in GitHub Desktop.
xcode:
1. shift + command + o : 全局查找某个类文件
2. contr + command + 左键 : 函数跳转
3. contr + command + -> : h跳转到cc文件
4. optio + command + -> : 函数定义折叠
vscode: https://nshen.net/article/2015-11-20/vscode/
1. ctrl + shift + p or ctrl + p : 进入两种模式,可以查找文件等, 增删<符号可以在两种模式之间切换
2. ctrl + shift + n or ctrl + shit + w : 打开关闭一个窗口
3. ctrl + g : 调到某一行
4. ctrl + shift + o : 列出当前文件的函数列表
5. Alt+Up or Alt+Down : 代码行上下移动
6. Shift+Alt+Up或Shift+Alt+Down : 向上或者向下复制一行
7. ctrl + shift + i :代码格式化
查找 Ctrl+F
查找替换 Ctrl+H
整个文件夹中查找 Ctrl+Shift+F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment