X-code most commonly used shortcut keys

Source: Internet
Author: User


Hide Xcode command+h
Hide Other Command+option+h
Exit Xcode Command+q

file Related:
New Project Command+shift+n
New File Command+n
New Empty file Command+control+n
Open Command+o
Open Command+option+o in a new window
Close Window Command+w
Close all Windows Command+option+w
Close the current project Command+control+w
Close the current file command+shift+w
Save File Command+s
Save All Files Command+option+s
Save As Command+shift+s
Save Copy as Command+option+shift+s
Revert to save State command+u
Create snapshot Command+control+s (save a snapshot of the file, which can be modified later)
Show snapshot can be set (file->snapshots)
Print Command+p
Edit Related:
Revoke Command+z
Repeat Command+shift+z
Shear Command+x
Copy command+c
Paste Command+v
Paste and Match format command+option+shift+v
Select All Command+a
Refactoring Command+shift+j (check method name)


Display Font command+t
Copy Style Command+option+c
Paste Style Command+option+v

================= Find ====================
Find Command+shift+f in Projects
Find Replacement Command+control+f
Find the next Command+g
Find Previous Command+shift+g


Find command+e with the selection
Replace with the selected Command+control+e
Jump to the cursor at COMMAND+J






================= Spelling ====================
Display spelling and grammar command+shift+;
Check spelling command+;
Special Symbol Command+option+t
View-Related:
upper right corner details search Command+option+f
Zoom edit Window Command+shift+e
Zoom edit window Full Screen command+option+shift+e
Fold command+control+ left Arrow
Screen Open command+control+ right arrow
Screen Open All Control+u
Collapse method command+control+ Up Arrow
Expand Method command+control+ down arrow
Collapse comment Block command+control+shift+ up Arrow
Expand comment Block command+control+shift+ down arrow




Forward command+option+ RIGHT Arrow
Next file command+option+shift+ right arrow
Return command+option+ left Arrow
Previous file command+option+shift+ left arrow
Toggle Header/Source file command+option+ up arrow
Position command+option+shift+ up arrow in Group tree

Label Switch command+ number 0 in the project
Class Browse Command+shift+c
New Group Command+option+n
Group Command+option+g
Undo Group Command+option+shift+g
Add Item Command+option+a


Edit Current Target Command+option+e
Edit the current executable file command+option+x


Comment command+/
File first line command+ up arrow
End of file command+ down arrow
Command+ left arrow at beginning of line
End of line command+ right arrow
Previous word option+ left arrow
Next word option+ right arrow
Previous split word control+ left arrow
Next split word control+ right arrow
Middle Display cursor Position control+l
Method Group List Control+2
Delete the previous word Option+delete
Delete all content before this line cursor Control+delete
Select command+option+ Mouse drag across rows

Minimized command+m
Minimize All Command+option+m

X-code most commonly used 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.