CMD refers to the win key on a computer that is not an apple machine.
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
6. Other
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--Yang over note: These two are too useful, just started with Xcode, has been strange why home and end keys can not be directly located to the beginning of the line, the end?
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 Common shortcut keys