Tips for Apple Mac OS X daily: XCode shortcut key 1. file CMD + N: New File CMD + SHIFT + N: new project CMD + O: Open CMD + S: Save CMD + SHIFT + S: Save as CMD + W: close Window CMD + SHIFT + W: Close file 2. edit CMD + [: LEFT indent CMD +]: RIGHT indent CMD + CTRL + LEFT: Fold CMD + CTRL + RIGHT: unhide CMD + CTRL + TOP: collapse all functions CMD + CTRL + BOTTOM: cancel all functions fold CTRL + U: cancel all collapse CMD + D: Add bookmarks CMD +/: comment or cancel comment CTRL +.: parameter prompt ESC: Automatic prompt list 3. debug CMD + \: set or cancel the breakpoint CMD + OPT + \: Allow or disable the current breakpoint CMD + OPT + B: View All Breakpoints CMD + RETURN: Compile and run (depending on the settings to determine whether to enable breakpoints) CMD + R: Compile and run (do not trigger breakpoints) CMD + Y: compile and debug (trigger breakpoint) CMD + SHIFT + RETURN: Terminate running or debug CMD + B: Compile CMD + SHIFT + K: Clear 4. form CMD + SHIFT + B: compilation window CMD + SHIFT + Y: debugging code window CMD + SHIFT + R: Debugging console CMD + SHIFT + E: Adjust the main editing window 5. help CMD + OPT +?: Development manual CMD + CTRL +?: Quick help the following are also some useful Shortcut Keys: Command + Shift + E: Extended editor Command + [: Left Shift code block Command +]: Right Shift code Block Tab: accept code prompt Esc: display the code prompt menu Ctrl +. (Period): Shift + Ctrl +. (Period): Ctrl +/: Move to the next placeholder in the code prompt: Command + Ctrl + S: Create snapshot Ctrl + F: move cursor Ctrl + B: move the cursor behind 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 line Ctrl + E: move the cursor to the end of the row Ctrl + T: exchange the characters Ctrl + D on both sides of the cursor: Delete the character Ctrl + K on the right of the cursor: Delete the row Ctrl + L: place the insert point in the center of the window Command + Alt + D: show the open quickly window Command + Alt + the direction key: open the supporting file Command + D: add the bookmarks Option + double-click: search for Command + Y in the document: run the program Command + Alt + P: Continue (in debugging) Command + Alt + 0: Skip Command + Alt + I: jump to Command + Alt + T: Jump out Command + F: Search for PS in the document: view the files created by the program in the project under command Line Tool
Select Show in Finder.