Upload
doannhu
View
242
Download
1
Embed Size (px)
Citation preview
Xcode Keyboard Shortcuts
Xcode App Shortcuts
⌘, ⌘H ⌥⌘H ⌘Q
File
⇧⌘N ⌘N ⌃⌘N ⌘O ⌥⌘O ⇧⌘D ⌘I ⌥⌘I ⌘W ⌥⌘W ⌃⌘W ⇧⌘W ⌘S ⌥⌘S ⇧⌘S⌥⇧⌘S ⌘U ⌃⌘S ⌘P
Edit ⌘Z ⇧⌘Z ⌘X ⌘C ⌘V ⌥⇧⌘V ⌘A ⇧⌘J
⌘D ⌘L ⌃. ⌥⎋ ⌃/ ⌥⌘T
Format ⌘T ⌥⌘C ⌥⌘V ⌘{ ⌘| ⌘} ⌃⌘C ⌃⌘V ⌘] ⌘[
Find ⇧⌘F ⌘F ⌘G ⇧⌘G ⌘E ⌃⌘E ⌘J
View ⌥⌘F ⇧⌘E ⌥⇧⌘E ⌥⌘→ ⌥⌘← ⌥⌘↑ ⌥⇧⌘T
Code Folding ⌃⌘← ⌃⌘→ ⌃U ⌃⌘↑ ⌃⌘↓⌃⇧⌘↑⌃⇧⌘↓⌃⌥⌘F
Message BubblesShow All ⇧⌘H
Hide All ⌥⇧⌘H
Project ⌘0 ⇧⌘C ⌥⌘N ⌥⌘G ⌥⇧⌘G ⌥⌘A ⌥⌘E ⌥⌘X
Build ⇧⌘B ⌘B ⌘↩ ⌘R ⌘Y ⇧⌘K ⌘= ⌘+ ⌘K
Run ⌥⌘↩ ⌥⌘R ⌥⌘Y ⇧⌘↩ ⇧⌘Y ⌃⌘↖ ⇧⌘R ⌃⌥⌘R ⌥⌘B ⌃⌘\ ⌘\
⌥⌘\ ⌥⌘P ⇧⌘I ⌥⇧⌘I ⇧⌘O ⌥⇧⌘O ⇧⌘T
SpellingShow Spelling & Grammar ⌘:
Check Spelling ⌘;
Design ⌃⌘B ⌃⇧⌘F ⌃⇧⌘B ⌃⌘L ⌃⇧⌘L ⌃⌘+ ⌃⌘- ⌃⌘= ⌃⌘F
⌃⌘H
WindowMinimize ⌘M
Minimize All ⌥⌘MOrganizer ⌃⌘O
Created by Colin Wheeler 2/25/[email protected]
HelpXcode User Guide ⌘?
Documentation ⌥⌘?Show Research Assistant ⌃⌘?
PreferencesHide XcodeHide OthersQuit Xcode
New ProjectNew File
New Empty File...Open
Open in Separate EditorOpen Quickly
Get InfoShow InspectorClose Window
Close AllClose Project
Close Current FileSave
Save AllSave As
Save Copy AsRevert to SavedMake Snapshot
UndoRedo
CutCopyPaste
Paste and Match StyleSelect AllRefactor
Add to BookmarksGo to Line
Next CompletionCompletion List
Select Next PlaceholderSpecial Characters
Show FontsCopy StylePaste Style
Align Left Center
Align RightCopy RulerPaste Ruler
Shift RightShift Left[
Find in ProjectSingle File Find
Find NextFind Previous
Use Selection for FindUse Selection for Replace
Jump to Selection
DetailZoom Editor Out
Zoom Editor Out FullyGo Forward
Go BackSwitch to Header/Source
Reveal in Group Tree
FoldUnfold
Unfold AllFold Methods/Functions
Unfold Methods/FunctionsFold Comment Blocks
Unfold Comment BlocksFocus Follows Selection
Go to ProjectClass Browser
New GroupGroup
UngroupAdd to Project
Edit Active TargetEdit Active Executable
Build ResultsBuild
Build and GoBuild and Run
Build and DebugClean
Next Build Warning or Error Prev Build Warning or Error
Compile
Show Model BrowserDiagram Bring to FrontDiagram Bring to Back
Diagram LockDiagram Unlock
Diagram Zoom In Diagram Zoom Out
Diagram Zoom to Fit Force Directed Layout
Hierarchical Layout
Go Run
Debug Stop
Debugger Mini Debugger
Console Clear Console
Show Breakpoints Turn Breakpoints On
Add Breakpoint at current line Enable Breakpoint at current line
Pause Step Into
Step Into Instruction Step Over
Step Over Instruction Step Out
TextCancel ⎋, ⌘.
Center Selection of Visible Area ⌃LClose Split ⌘'
Code Sense Complete List ⌃, ,⌥⎋,F5Code Sense Previous Selection ⌃>
Code Sense Previous Placeholder ⌃?Delete Backward ⌃H
Delete Forward ⌃D,⌦Delete Subword Backward ⌃⌫
Delete Subword Forward ⌃⌦Delete to Beginning of Line ⌘⌫Delete to end of Paragraph ⌃K
Delete to Mark ⌃WDelete Word Backward ⌥, ⌃⌥⌫, ⌥⌫
Delete Word Forward ⌥⌦Execute Selection & Replace w/Output ⌃⌥R
Execute Selection Inserting Output ⌃RExecute Selection Sending Output to Alert Panel ⌃ ⌥⇧R
Indent Friendly Delete Backwards ⌫Indent Friendly Insert Tab ⇥
Indent Selection ⌃IInsert Backtab ⇤
Insert Newline and Indent ↩,↩Insert Newline and Indent with Enter ⌤
Insert Open Brace {Move Backward ⌃B
Move Backward Extending Selection ⌃⇧BMove Down ↓,⌃N
Move Down Extending Selection ⌃⇧N,⇧↓Move Forward ⌃F
Move Forward Extending Selection ⌃⇧FMove Left ←
Move Left Extending Selection ⇧←Move Paragraph Backward Extending Selection ⌥⇧↑
Move Paragraph Forward Extending Selection ⌥⇧↓Move Right →
Move Right Extending Selection ⇧→Move Subword Backward ⌃←
Move Subword Backward Extending Selection ⌃⇧←Move Subword Forward ⌃→
Move Subword Forward Extending Selection ⌃⇧→Move to Beginning of Document ⌘↑
Move to Beginning of Document Extending Selection ⇧↖,⇧⌘↑Move to Beginning of Line ⌘←
Move to Beginning of Line Extending Selection ⇧⌘←Move to Beginning of Paragraph ⌃A
Move to Beginning of Paragraph Extending Selection ⌃⇧AMove to End of Document ⌘↓
Move to end of Document extending Selection ⇧⌘↓,⇧↘Move to end of Line ⌘→
Move to end of Line Extending Selection ⇧⌘→Move to end of Paragraph ⌃E
Move to end of Paragraph Extending Selection ⌃⇧EMove up ⌃P, ↑
Move up Extending Selection ⇧↑,⌃⇧PMove word backward ⌃⌥B
Move word backward extending selection ⌃⌥⇧BMove word forward ⌃⌥F
Move word forward extending selection ⌃⌥⇧FPage Down ⌥⇟,⌃V
Page Down Extending Selection ⇧⇟, ⌃⇧VPage Up ⌥⇞
Page up Extending Selection ⇧⇞Pop Bookmarks Popup ⌃4
Pop Breakpoints Popup ⌃5Pop Included Headers Popup ⌃3
Pop Loaded Files Popup ⌃1,⌃⌥1Pop Symbols Popup ⌃⌥2, ⌃2
Scroll Line Down ⌘↘Scroll Line Up ⌘↖
Scroll Page Down ⇟,⌃↓Scroll Page up ⌃↑, ⇞
Scroll to Beginning of Document ↖Scroll to end of Document ↘
Select to Mark ⌃X⌃MSend Interrupt ⌃C
Set Mark ⌃SpaceSplit Horizontally ⌥⌘"
Split Vertically ⌘"Swap with Mark ⌃X⌃X
Transpose ⌃TYank ⌃Y