Default Keymap Editing

Default Keymap
Space
Basic code completion (the name of any class, method or variable)
Space Smart code completion (filters the list of methods and variables by expected type)
Complete statement
P
Parameter info (within method call arguments)
Quick documentation lookup
J , F1
+ mouse over code Brief Info
F1
Show descriptions of error or warning at caret
N
Generate code... (initWith..., Properties,
@synchronized, etc.)
O
Override methods
I
Implement methods
T
Surround with... (if..else, for, @try..@catch, etc.)
/
Comment/uncomment with line comment /
Comment/uncomment with block comment
Select successively increasing code blocks
Decrease current selection to previous state
Show intention actions and quick-fixes
L
Reformat code
O
Optimize imports
I
Auto-indent line(s)
/
Indent/unindent selected lines
X
Cut current line or selected block to clipboard
C
Copy current line or selected block to clipboard
V
Paste from clipboard
V
Paste from recent buffers
D
Duplicate current line or selected block
Delete line at caret
J
Smart line join
Smart line split
Start new line
U
Toggle case for word at caret or selected block
]
Select till code block end
[
Select till code block start
/
Delete to word end/start
+ / -
Expand/collapse code block
+/
-
Expand/collapse all
W
Close active editor tab
Click
Place the caret in multiple locations
Restore single carret mode
G
Add next occurrence of current word to the selection
G Delete next occurrence of current word
from the selection
Search/Replace
F / RFind/Replace
G
Find next
G
Find previous
F
Find in path
R
Replace in path
Double Search everywhere
jetbrains.com/clion
Usage Search
F7 F7
F7
F7
Find usages
Find usages in file
Highlight usages in file
Show usages
Compile and Run
F9
Build Project
R Run
DDebug
R
Select configuration and run
D
Select configuration and debug
Debugging
F8 / F7
F8
F9
F8
R
F8
F8
Navigation
O
O
O
]
[
F12
F4
L
E
]/ [
F1
B , Click
B
Space U
/
]/
[
F12
H
H
H
F2 / F2
F3
F3
0 ... 9
F3
Step over/into
Step out
Run to cursor
Evaluate expression
Resume program
Toggle breakpoint
View breakpoints
Go to class
Go to file
Go to symbol
Go to next editor tab
Go to previous editor tab
Go back to previous tool window
Go to editor (from tool window)
Hide active or last active window
Close active tool window tab
Go to line
Recent files popup
Navigate back/forward
Navigate to last edit location
Select the current class or method in any view
Go to related symbol (header or source file)
Go to declaration
Go to definition
Open quick definition lookup
Go to super-method/super-class
Go to previous/next method
Move to code block end/start
File structure popup
Type hierarchy
Method hierarchy
Call hierarchy
Next/previous highlighted error
Toggle bookmark
Toggle bookmark with mnemonic
Go to numbered bookmark
Show list of all bookmarks
blog.jetbrains.com/clion
Refactoring
T
Refactor This (shows all available refactorings)
F5/F6Copy/Move
Safe Delete
F6Rename
F6
Change Signature
NInline
M
Extract Method
V
Introduce Variable
P
Introduce Parameter
C
Introduce Constant
D
Introduce Define
VCS/Local History
K
T
Commit project to VCS
Update project from VCS
View recent changes
‘VCS’ quick popup
C
V
Live Templates
J
J
for
iter
General
0 ... 9
F12
F
F
I
`
,
Surround with Live Template
Insert Live Template
Indexed for(;;) loop
Iterate C++ container
Open corresponding tool window
Hide all tool windows
Toggle Full Screen mode
Add to Favorites
Inspect current file with current profile
Quick switch current scheme
Edit application Preferences
To find any action inside the IDE
use Find Action (
A)
Command
Option / Alt
Control
Shift
Arrow Keys
@clion_ide
Backspace
Delete
Escape
Enter / Return
Tab
Copyright © JetBrains 2014. All Rights Reserved. (DSGN-1470) 10/2014
Editing