You are on page 1of 1

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