借鉴与iOS开发之Xcode快捷键大全,谢谢
快捷键 |
常用键 |
commond + shift + O |
搜索程序中类名 |
control + 6 |
(输入方法名 Enter 定位到该方法) Show Document Items |
commond + 4 |
(全局搜索) Show Find Navigator |
commond + control + ↑ |
(类文件".h"与“.m”之间切换)Select Column Up |
commond + option + [ |
(选中代码上移一行) Move Line Up |
commond + [ |
(选中代码 右移一个tab) Shift Right |
commond + shift + J |
(显示当前类在工程目录下的位置) Reveal in Project Navigator |
commond + alt + 0 |
(右侧文件校验栏)Show Inspector |
一. Mac键盘快捷键键盘图标
对应按键 |
键盘图标 |
caps lock |
⇪ |
shift |
⇧ |
control |
⌃ |
option(alt) |
⌥ |
command() |
⌘ |
二. Xcode快捷键
View |
快捷键 |
Show Document Items |
control + 6 (输入方法名 Enter 定位到该方法) |
Show Project Navigator |
commond + 1 |
Show SourceControl Navigator |
commond + 2 |
Show Symbol Navigator |
commond + 3 |
Show Find Navigator |
commond + 4(全局搜索) |
Show Issue Navigator |
commond + 5 |
Show Test Navigator |
commond + 6 |
Show Debug Navigator |
commond + 7 |
Show Breakpoint Navigator |
commond + 8 |
Show Report Navigator |
commond + 9 |
Hide Navigator |
commond + 0 (隐藏左侧导航栏) |
Filter in Navigator |
commond + option + J(右侧导航栏底部filter) |
Activate Console |
commond + shift + C(控制台打印) |
Show Debug Area |
commond + shift + Y(控制台Debug区域) |
Show File Inspector |
commond + option + 1 |
ShowQuickHelpInspector |
commond + option + 2 |
Show Inspectors |
commond + option + 0(隐藏右侧导航栏) |
Show Library |
Commond + shift + L(代码块) |
Show Media Library |
commond + shift + M(查看项目 Media资源) |
Hide Toolbar |
commond + option + T(隐藏Xcode Toolbar) |
Show All Tabs |
commond + shift + (查看项目所有Tabs缩略图) |
Enter Full Screen |
commond + control + F(Xcode全幕) |
Editor |
快捷键 |
Select Column Up |
commond + control + ↑(类文件".h"与“.m”之间切换) |
Select Column Down |
commond + control + ↓(类文件".h"与“.m”之间切换) |
Move Line Up |
commond + option + [ (选中代码上移一行) |
Move Line Down |
commond + option + ] (选中代码下移一行) |
Shift Right |
commond + [ (选中代码 右移一个tab) |
Shift Left |
commond + ] (选中代码 左移一个tab) |
Find |
快捷键 |
Find in Project |
commond + shift + F |
Find and Replace in Project... |
commond + shift + option + F |
Find... |
commond + F |
Find and Replace... |
commond + option + F |
Find Next |
commond + G (搜索下一处) |
Find Previous |
commond + shift + G(搜索上一处) |
File |
快捷键 |
New Tab |
commond + T |
New Window |
commond + shift + T |
New File |
commond + N |
New Project |
commond + shift + N |
New Workspace |
commond + control + N |
New Playground |
commond + option + shift + N |
Open |
commond + O(打开新工程/新文件) |
Open Quickly |
commond + shift + O(搜索类名,打开) |
Add Files |
commond + option + A |
Close Other Tabs |
commond + option + W |
Clos Tab |
commond + W |
Close Window |
commond + shift + W |
Close All Windows |
commond + shift + option + W |
Navigate |
快捷键 |
Reveal in Project Navigator |
commond + shift + J(显示当前类在工程目录下的位置) |
Product |
快捷键 |
Run |
commond + R |
Test... |
command + option + U |
Profile |
command + I |
Analyze |
command + shift + B |
Build |
command + B |
Clean |
command + shift + K |
Help |
快捷键 |
Developer Documentation |
commond + shift + 0 |
Show Quick Help for Selected Item |
commond + control + ? |
Search Documentation for Selected Text |
commond + option + control + / |
查看Mac上App的快捷键 下载地址
Xcode查看快捷键
Xocde -> Preferences... -> Key Bindings 查看
有问题欢迎指正,谢谢