Ios-xcode Common shortcut keys

Source: Internet
Author: User

1. Shortcut keys for file processing
  Command + SHIFT + N New Project COMMAND + N new File command + CONTROL + N New empty file              Command + o Open File Command + W close window Command + SHIFT + W              Close file Command + U restore to save State COMMAND + S Save COMMAND + SHIFT + S Save As COMMAND + OPTION + S saves all files command + control +??        /?? In the program. H and. m related fast switching between files Command + control +??        /?? Before and after the question price jump command +??                  /??  Between the head and tail of the file Jump command + L turn to the first few lines, open jump Line Input box COMMAND + control + F Enter/exit full-screen COMMAND + 0 Show/Hide Navigator panel Command + OPTION + 0 Show/Hide Tool panel Command + SHIFT + Y Show/Hide tone       Try window Command + OPTION + ENTER to open Assistant Editor Window command + Enter Close Assistant Editor window option + click File in Project Navigator Open a file in the Auxiliary Editor COMMAND + 1 Open the Project Navigator COMMAND + SHift + F Open Search Navigator Command + SHIFT + 0 Open Document and Reference COMMAND + SHIFT + O open jump bar and quick hit  Open the search input, quickly open the file Command + SHIFT + J quickly locate the file in the code base, open the Collapsed folder option + click the class or method name to open Quick help option + Double-click a class or method name to quickly jump to a document command + clicking a class or method name quick jump to document COMMAND + CTRL + J Quick jump to document control + 1 Open the "Show related Items" menu, place the cursor in any method, click the key, you can access the method through the pop-up view of all callers      and the callee.                                   Command + J Select the Action window to display a small-size pop-up view command + OPTION + SHIFT + click on the file to execute the key, you can display a small size of the pop-up view, you can view the desired A place to open it, such as an auxiliary editor, a label, or a window.
2. Code editing shortcut keys
  Command + OPTION +??           Collapse code block COMMAND + OPTION +??           Cancel collapse code block COMMAND + OPTION +??           Collapse All code blocks COMMAND + OPTION +??                   Ungroup all code blocks control + u to collapse All code blocks COMMAND + OPTION + [] Move code block up or DOWN COMMAND + []                             Left and Right indent command +/comment or uncomment ESC Show Code hint menu tab                     Accept the code hint control +.             Loop through code hints CONTROL + SHIFT +. Reverse loop Browse Code hint CONTROL +/move to next placeholder in code hint control-+ F forward cursor, right one character (forward) CO ntrol-+ b Moves the cursor, left one character (backward) control-+ p Move the cursor up, moving to the previous line (previous) control                     +-N Moves the cursor to the next line (next) control-+ a moves the cursor to the beginning of the bank control-+ E Move the cursor to the end of the line (end) control + T to swap the characters on both sides of the cursor (transpose) control-+ D to remove one character to the right of the cursor ( Delete) conTrol + k Delete all characters to the right of the cursor (KILL) COMMAND + F search COMMAND + G                     Next COMMAND + SHIFT + G Search the previous control + L place the insertion point in the Center of the window command + D Add Bookmark Command + control + S to create a snapshot
3. Run Debugging shortcut keys
  command + b                     编译  command + r                     编译并运行(不触发断点)  command + y                     编译并调试(触发断点)  command + .                     停止      command + shift + k             清理      F6                              单步调试  F7                              跳入  F8                              继续      command + \                     设置或取消断点  command + option + \            允许或禁用当前断点  command + option + b            查看全部断点

Ios-xcode Common shortcut keys

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.