[Xcode] common shortcuts for xcode 3.2

Source: Internet
Author: User


Common shortcuts for xcode 3.2

Luo chaohui (Http://blog.csdn.net/kesalin)

Reprinted please indicate the source


Shift + command + e show or hide the editor window.

 

Command + [move code left

Command +] Right Shift code

The tab code is automatically completed.

ESC open the automatic Completion list (E indicates the enumeration type, F indicates the function, # indicates # define macro, M indicates the method, and C indicates the class)

Control +. automatically performs a positive loop of the Recommendation value without displaying the auto-Completion list

Shift + Control +. Automatically reverse loop of Recommendation values without displaying the automatic Completion list

Control +/move to the next placeholder

Command + Control + S create Snapshot

Edit-> edit all in scope modify local variables or parameters

Edit-> refactor: Modify the class name globally (but the class name in the comment cannot be modified)

Command + Shift + D open the file Quick Search dialog box

Command + Option + up arrow to view the file's supporting files (if the current view is m Files, open the H file, and vice versa)

Command + D create bookmarks

Command + y debugging

Command + Option + P execute to the next breakpoint (equivalent to F5 in)

Command + Shift + O execute to the next step (equivalent to F10 in)

Command + Shift + I jump into function execution (equivalent to F11 in)

Command + Shift + t jump out of function execution

 

Control + F forward right move cursor left

Control + B backward left move cursor right

Control + P previous lien move cursor up

Control + N next line move cursor down

Control + A line head move to line head

Control + E line end move to end of line

Control + T transpose switch match between the two sides of the cursor

Control + D delete Delete the character on the right of the cursor

Control + k kill Delete the code behind the cursor in the row where the cursor is located,

Control + l place the insert point in the center of the window.

 

View the document press and hold the option key and double-click the selected content to find the document with the selected characters

Right-click the formatting code and choose re-indent selection.

Click the focus column on the left of the Code to collapse the code.

Add a readable mark to the Code # pragma mark stuff, # pragma mark-insert a split line in the menu or add the following todo:, fidme ,!!! Or ???

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.