You are on page 1of 2

Default Windows / Linux keymap

REMEMBER THESE SHORTCUTS EDITING SEARCH / REPLACE


Find Action Ctrl + Shift + A Complete statement Ctrl+Shift+Enter Find / Replace Ctrl + F / Ctrl + R
Basic code completion Ctrl + Space Override functions Ctrl + O Find in path Ctrl + Shift + F
Smart code completion Ctrl + Shift + Space Implement functions Ctrl + I Select next occurrence Alt + J
Show intention actions and quick-fixes Alt + Enter Surround with.. Ctrl + Alt + T
Refactor this... Ctrl + Alt + Shift + T Comment/uncomment NAVIGATION
Ctrl + /
Generate code Alt + Insert with line comment Go to class Ctrl + N
Surround with if, while, #ifdef, etc. Ctrl + Alt + T Comment/uncomment Go to file Ctrl + Shift + N
Ctrl + Shift + /
with block comment Go to symbol Ctrl + Alt + Shift + N
Parameter info Ctrl + P
Show parameters info Ctrl + P Go to line Ctrl + G
Go to class by its name Ctrl + N
Reformat code Ctrl + Alt + L Navigate to last edit location Ctrl + Shift + Backspace
Use file structure for navigation Ctrl + F12
Quick documentation lookup Ctrl + Q Select current file
Search everywhere Double Shift Alt + F1
Auto-indent lines Ctrl + Alt + I or symbol in any view
Find usages Alt + F7
Duplicate current line Ctrl + D Go to declaration Ctrl + B, Ctrl + Click
Smart line split Ctrl + Enter Go to definition Ctrl + Alt + B
Start new line Shift + Enter File structure popup Ctrl + F12
DON’T REMEMBER A SHORTCUT? Close active editor tab Ctrl + F4 Recent files popup Ctrl + E
Find Action Ctrl + Shift + A Increase or decrease syntax Ctrl + W / Type / Сall hierarchy Ctrl + H / Ctrl + Alt + H
aware selection Ctrl + Shift + W
Place the caret in multiple locations Alt + Shift + Click COMPILE, RUN, DEBUG
Restore single caret mode Esc Run / Debug Shift + F10 / F9
Select configuration
Alt + Shift + F10 / F9
USAGE SEARCH and run / debug
Find usages Alt + F7 Step over / into F8 / F7
Find usages in file Ctrl + F7 Evaluate expression Alt + F8
Highlight usages in file Ctrl + Shift + F7 Toggle breakpoint Ctrl + F8
Show usages Ctrl + Alt + F7
VCS / LOCAL HISTORY
REFACTORING Commit project to VCS Ctrl + K
Rename Shift + F6 Update project from VCS Ctrl + T
Change Signature Ctrl + F6 Push commits Ctrl + Shift + K
Inline Ctrl + Alt + N ‘VCS’ quick popup Alt + BackQuote(`)
jetbrains.com/clion
Extract function Ctrl + Alt + M
Safe delete Alt + Delete LIVE TEMPLATES
blog.jetbrains.com/clion
Introduce variable Ctrl + Alt + V Surround with Live Template Ctrl+Alt+J

9924
@clion_ide Introduce parameter Ctrl + Alt + P Insert Live Template Ctrl+J
Default macOS keymap

REMEMBER THESE SHORTCUTS EDITING SEARCH / REPLACE


Find Action ⇧⌘A Complete statement ⌘⇧↩ Find / Replace ⌘F / ⌘R
Basic code completion ⌃ Space Override functions ⌃ O Find in path ⌘⇧F
Smart code completion ⌃⇧Space Implement functions ⌃ I Select next occurrence ⌃G
Show intention actions and quick-fixes ⌥ ↩ Surround with.. ⌘ ⌥  T
Refactor this... ⌃ T Comment/uncomment NAVIGATION
⌘ /
Generate code ⌘ N with line comment Go to class ⌘O
Surround with if, while, #ifdef, etc. ⌥ ⌘T Comment/uncomment Go to file ⌘⇧O
⌘ ⌥ /
with block comment Go to symbol ⌘⌥ O
Parameter info ⌘P
Show parameters info ⌘P Go to line ⌘L
Go to class by its name ⌘O
Reformat code ⌘⌥ Navigate to last edit location ⌘⇧⌨
Use file structure for navigation ⌘F12
Quick documentation lookup ⌃J, F1 Select current file
Search everywhere Double⇧ ⌥ F
Auto-indent lines ⌃ ⌥  I or symbol in any view
Find usages ⌥ F7
Duplicate current line ⌘D Go to declaration ⌘B, ⌘Click
Smart line split ⌘ ↩ Go to definition ⌘⌥ B
Start new line ⇧ ↩ File structure popup ⌘ F12
DON’T REMEMBER A SHORTCUT?
Close active editor tab ⌘W Recent files popup ⌘ E
Find Action ⇧⌘A
Increase or decrease syntax Type / Сall hierarchy ⌃H / ⌃⌥ H
⌥↑ / ⌥↓
aware selection
Place the caret in multiple locations ⌥ ⇧Click COMPILE, RUN, DEBUG
Restore single caret mode ⎋ Run / Debug ⌃R / ⌃D
Select configuration
⌃⌥ R / ⌃⌥D
USAGE SEARCH and run / debug
Find usages ⌥F Step over / into F8 / F7
Find usages in file ⌘ F7 Evaluate expression ⌥ F8
Highlight usages in file ⌘⇧F7 Toggle breakpoint ⌘ F8
Show usages ⌘⌥ F7
VCS / LOCAL HISTORY
REFACTORING Commit project to VCS ⌘K
Rename ⇧ F6 Update project from VCS ⌘T
Change Signature ⌘ F6 Push commits ⌘⇧K
Inline ⌥ ⌘N ‘VCS’ quick popup ⌃ V
jetbrains.com/clion
Extract function ⌥ ⌘M
Safe delete ⌘ ⌦ LIVE TEMPLATES
blog.jetbrains.com/clion
Introduce variable ⌥ ⌘V Surround with Live Template ⌘⌥ J

9924
@clion_ide Introduce parameter ⌥ ⌘P Insert Live Template ⌘J

You might also like