dojo
AppCode Cheatsheet
ShortcutFoo uses a Spaced Repetition System that adapts to your training.
scf keyboard

Editing I

⌘/
Comment / uncomment line
⌘⌥/
Comment / uncomment with block comment
⌘⌥L
Reformat code
^⌥I
Auto-indent line(s)
TAB
Indent selected line
⇧TAB
Unindent selected line
⌘⇧V
Paste from recent buffers...
⌘D
Duplicate current line or selected block
⌘BACKSPACE
Delete line at caret
^⇧J
Smart line join
⌘↵
Smart line split
⇧↵
Start new line
⌥BACKSPACE
Delete to word start
scf keyboard

Editing II

^SPACE
Basic code completion
^⇧SPACE
Smart code completion
⌘⇧↵
Complete statement
^J
Quick documentation lookup
⇧F1
External documentation
⌘F1
Show descriptions of error or warning at caret
^N
Generate code
^O
Override methods
^I
Implement methods
⌘⌥T
Surround with...
⌥UP
Select successively increasing code blocks
⌥DOWN
Decrease current selection to previous state
^⇧Q
Context info
⌥↵
Show intention actions and quick-fixes
^⌥O
Optimize imports
⌘⇧U
Toggle case for word at caret or selected block
⌘⇧+
Expand all
⌘⇧_
Collapse all
scf keyboard

Navigation I

⌘L
Go to line
⌘O
Go to class
⌘⇧O
Go to file
⌘⌥O
Go to symbol
⌘^UP
Go to related header or source file
⌘⌥B
Go to implementaiton
^⇧B
Go to type declaration
^3
Go to bookmark number 3
^9
Go to bookmark number 9
scf keyboard

Navigation II

⌘E
Recent files popup
⌘⇧BACKSPACE
Navigate to last edit location
⌥F1
Select current file or symbol in any view
⌘]
Move to code block end
⌘[
Move to code block start
^H
Type hierarchy
^⌥H
Call hierarchy
F2
Next highlighted error
⇧F2
Previous highlighted error
F4
Editor source
⌘DOWN
View source
F3
Toggle bookmark
⌥F3
Toggle bookmark with mnemonic
⌘F3
Show bookmarks
scf keyboard

Find / Replace

⌘F
Find
⌘G
Find next
⌘⇧G
Find previous
⌘R
Replace
⌘⇧F
Find in path
⌘⇧R
Replace in path
⌥F7
Find usages
⌘F7
Find usages in file
⌘⇧F7
Highlight usages in file
⌘⌥F7
Show usages
scf keyboard

Compile And Run

⌘F9
Build project
^⌥R
Select configuration and run
^⌥D
Select configuration and debug
^R
Run
^D
Debug
^⇧R
Run context configuration from editor
scf keyboard

Refactoring

^T
Show all refactorings
F5
Copy refactoring
F6
Move refactoring
⇧F6
Rename refactoring
⌘F6
Change signature
⌘⌥M
Extract method
⌘⌥V
Introduce variable
⌘⌥P
Introduce parameter
⌘⌥E
Introduce property
⌘⌥C
Introduce constant
⌘⌥I
Introduce instance variable
scf keyboard

Debugging

F8
Step over
F7
Step into
⇧F7
Smart step into
⇧F8
Step out
⌥F9
Run to cursor
⌥F8
Evaluate expression
⌘⌥R
Resume program
⌘F8
Toggle breakpoint
⌘⇧F8
View breakpoints
scf keyboard

Other

⌘K
Commit project to VCS
⌥⇧C
View recent changes
^V
VCS quick popup
⌘⌥J
Surround with live template
achievement-star