Foreword: If we can grasp and skillfully use the shortcut key, can greatly accelerate our work efficiency, this to often use shortcut key people, should be very easy to understand. So what we need to do is to make a memory of the shortcut keys that we often use. I will not recommend you to all the shortcut keys are remembered, after all, Xcode so many shortcut keys, who will remember so many AH? Even if all remember, how much time will you spend?
Below I will be listed I often use the shortcut keys, I hope to be helpful, thank you.
Code indentation:
| command+[ |
Left indent |
| Command+] |
Right Indent |
Toggle the toolbar window:
| Command + 0 |
Turn left navigation on or off |
| OPTION + COMMAND + 0 |
Open or close the right property window |
| Command + Shift + y |
Open or close the lower console |
Search tips for class files/code:
| Option + Command + J |
Search Directory file name |
| Option + shift+ F |
Global Search Code |
| Shift+command+o |
Call Open Quickly |
| Control+k |
Remove all characters from the insertion point to the end of the line |
| Option + option+ F |
Search the current file code |
Project Compile/run:
| Command + R |
Compile and run |
| Command + B |
Compile |
| Command + Shift + K |
Project cleanup |
quickly switch/create a new tab:
| Command + Shift + { |
Switch tabs to the left |
| Command + Shift +} |
Toggle the tab to the right |
| Command + Shift + T |
Current page New Window |
| Command + T |
Open a new tab |
expansion/Closing of the method:
| Command + OPTION + LEFT ARROW key |
Close the current method |
| Command + OPTION + SHIFT + LEFT ARROW key |
Close all the methods |
| Command + OPTION + RIGHT ARROW key |
Expand Current Method |
| Command + OPTION + SHIFT + RIGHT ARROW key |
Expand All methods |
To control breakpoints:
| Command + y |
Global activation or disabling of all breakpoints |
| Command + \ |
Add breakpoint to current code |
This article will be updated as new discoveries are followed.
Blog Garveycalvin
Blog Source: http://www.cnblogs.com/GarveyCalvin/
This article copyright belongs to the author and the blog Garden altogether, welcome reprint, but must retain this paragraph statement, and gives the original link, thanks cooperation!
iOS development-xcode frequently used shortcut key finishing