Xcode shortcut keys for iOS development

Source: Internet
Author: User

1. Documents

CMD + N: New file
CMD + SHIFT + N: New Item
CMD + O: Open
CMD + S: Save
CMD + SHIFT + S: Save As
CMD + W: Close window
CMD + SHIFT + W: Close file

2. Editing

CMD + [: Left Indent
CMD +]: Right Indent

CMD + CTRL + Left: Folding
CMD + CTRL + right: Cancel collapse
CMD + CTRL + TOP: Collapse All functions
CMD + CTRL + BOTTOM: Cancel All function folding
CTRL + U: Cancel all folds

CMD + D: Add Bookmark
CMD +/: Comment or Uncomment

CTRL +.: Parameter hints
ESC: Auto Prompt list

3. Commissioning

CMD + \: Set or Cancel breakpoints
CMD + OPT + \: Allows or disables the current breakpoint
CMD + OPT + B: View all Breakpoints

CMD + RETURN: Compile and run (determines whether breakpoints are enabled based on settings)
CMD + R: Compile and run (without triggering breakpoints)
CMD + Y: Compile and debug (trigger breakpoint)
CMD + SHIFT + RETURN: Terminate run or debug

CMD + B: Compile
CMD + SHIFT + K: Cleanup

4. Form

CMD + SHIFT + B: Compile window
CMD + SHIFT + Y: Debug Code Window
CMD + SHIFT + R: Debug Console
CMD + SHIFT + E: main edit window Adjustment

5. Help

CMD + OPT +?: Development Manual
CMD + CTRL +?: Quick Help

Here are some useful shortcut keys (Transferred from Http://www.cppblog.com/brucejini/archive/2010/12/24/137367.html)


Command + Shift + E: Extended Editor
Command + [: Move code block left
Command +]: Move code block right
Tab: Accept Code hints
ESC: Show Code hints menu
Ctrl +. (period): Loop through code hints
Shift + Ctrl +. (period): Reverse looping through code hints
Ctrl +/: Move to the next placeholder in the code hint
Command + Ctrl + S: Create snapshot
Ctrl + F: Move forward cursor
Ctrl + B: Move the cursor back
Ctrl + P: Move the cursor to the previous line
Ctrl + N: Move the cursor to the next line
Ctrl + A: Move the cursor to the beginning of the bank
Ctrl + E: Move the cursor to the end of our line
Ctrl + T: Swap the characters on the left and right side of the cursor
Ctrl + D: Remove the character to the right of the cursor
Ctrl + K: Delete Bank
Ctrl + L: Places the insertion point in the middle of the window
Command + Alt + D: Show open quickly window
Command + ALT + UP ARROW key: Open the companion file
Command + D: Add Bookmark
Option + Double-click: Search in document
Command + Y: Run the program in debug mode
Command + Alt + P: Continue (in debugging)
Command + Alt + 0: Skip
Command + Alt + I: Jump in
Command + Alt + T: Jump out

Xcode shortcut keys for iOS development

Related Article

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.