Xcode shortcuts for IOS development

Source: Internet
Author: User

I have been developing IOS for more than a year. I found that the Xcode shortcut is not familiar with it. Otherwise, it really affects work efficiency!

 

1. File

CMD + N: New File
CMD + SHIFT + N: new project
CMD + O: Open
CMD + S: Save
CMD + SHIFT + S: Save
CMD + W: Close the window
CMD + SHIFT + W: Close the 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 function folding
CTRL + U: cancel all collapse

CMD + D: Add bookmarks
CMD +/: comment or cancel the comment

CTRL +.: parameter prompt
ESC: Automatic prompt list

3. debugging

CMD + \: set or cancel a breakpoint
CMD + OPT + \: Allows or disables the current breakpoint
CMD + OPT + B: View All Breakpoints

CMD + RETURN: Compile and run (determine whether to enable breakpoint Based on settings)
CMD + R: Compile and run (do not trigger breakpoint)
CMD + Y: Compile and debug (trigger breakpoint)
CMD + SHIFT + RETURN: stops running or debugging

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 some useful 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.