0% found this document useful (0 votes)
63 views2 pages

CLion ReferenceCard

The document provides a comprehensive list of keyboard shortcuts for JetBrains CLion, categorized into sections such as Editing, Navigation, Refactoring, and VCS/Local History. It includes shortcuts for actions like code completion, finding usages, and running/debugging code. Additionally, it offers guidance for using live templates and searching/replacing text within the IDE.

Uploaded by

tom
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views2 pages

CLion ReferenceCard

The document provides a comprehensive list of keyboard shortcuts for JetBrains CLion, categorized into sections such as Editing, Navigation, Refactoring, and VCS/Local History. It includes shortcuts for actions like code completion, finding usages, and running/debugging code. Additionally, it offers guidance for using live templates and searching/replacing text within the IDE.

Uploaded by

tom
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

EDITING NAVIGATION

jetbrains.com/clion
blog.jetbrains.com/clion Show parameters info Ctrl+P Go to line Ctrl+G
@clion_ide Reformat code Ctrl+Alt+L Navigate to last edit location Ctrl+Shift+Backspace
Quick documentation lookup Ctrl+Q Select current file
Alt+F1
Auto-indent lines Ctrl+Alt+I or symbol in any view

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

Close active editor tab Ctrl+F4 Recent files popup Ctrl+E

Increase or decrease syntax Type /Сall hierarchy Ctrl+H/Ctrl+Alt+H


Ctrl+W/ Ctrl+Shift+W
aware selection
Windows / Linux keymap Place the caret in multiple locations Alt+Shift+Click COMPILE, RUN, DEBUG
Restore single caret mode Esc Run /Debug Shift+F10/F9
REMEMBER THESE SHORTCUTS
Select configuration
Find Action Ctrl+Shift+A Alt+Shift+F10/F9
USAGE SEARCH and run /debug
Basic code completion Ctrl+Space Step over /into F8/F7
Find usages Alt+F7
Smart code completion Ctrl+Shift+Space Evaluate expression Alt+F8
Find usages in file Ctrl+F7
Show intention actions and quick-fixes Alt+Enter Toggle breakpoint Ctrl+F8
Highlight usages in file Ctrl+Shift+F7
Refactor this... Ctrl+Alt+Shift+T
Show usages Ctrl+Alt+F7
Generate code Alt+Insert VCS / LOCAL HISTORY
Surround with if, while, #ifdef, etc. Ctrl+Alt+T Commit project to VCS Ctrl+K
REFACTORING
Parameter info Ctrl+P Update project from VCS Ctrl+T
Rename Shift+F6
Go to class by its name Ctrl+N Push commits Ctrl+Shift+K
Change Signature Ctrl+F6
Use file structure for navigation Ctrl+F12 ‘VCS’ quick popup Alt+BackQuote(`)
Inline Ctrl+Alt+N
Search everywhere Double Shift
Extract function Ctrl+Alt+M
Find usages Alt+F7 LIVE TEMPLATES
Safe delete Alt+Delete
Surround with Live Template Ctrl+Alt+J
Introduce variable Ctrl+Alt+V
DON’T REMEMBER A SHORTCUT? Insert Live Template Ctrl+J
Introduce parameter Ctrl+Alt+P
Find Action Ctrl+Shift+A

SEARCH / REPLACE
EDITING
Find /Replace Ctrl+F/Ctrl+R
Complete statement Ctrl+Shift+Enter
Find in path Ctrl+Shift+F
Override functions Ctrl+O
Select next occurrence Alt+J
Implement functions Ctrl+I
Surround with.. Ctrl+Alt+T
NAVIGATION
Comment/uncomment
Ctrl+/ Go to class Ctrl+N
with line comment
Comment/uncomment Go to file Ctrl+Shift+N
with block comment
Ctrl+Shift+/
Go to symbol Ctrl+Alt+Shift+N 20661
EDITING NAVIGATION
jetbrains.com/clion
blog.jetbrains.com/clion Show parameters info ⌘P Go to line ⌘L
@clion_ide Reformat code ⌘⌥ Navigate to last edit location ⌘⇧⌨
Quick documentation lookup ⌃J, F1 Select current file
⌥F
Auto-indent lines ⌃⌥ I or symbol in any view

Duplicate current line ⌘D Go to declaration ⌘B, ⌘Click

Smart line split ⌘↩ Go to definition ⌘⌥B

Start new line ⇧↩ File structure popup ⌘F12

Close active editor tab ⌘W Recent files popup ⌘E

Increase or decrease syntax Type /Сall hierarchy ⌃H/⌃⌥H


⌥↑/⌥↓
aware selection
macOS keymap Place the caret in multiple locations ⌥⇧Click COMPILE, RUN, DEBUG
Restore single caret mode ⎋ Run /Debug ⌃R/⌃D
REMEMBER THESE SHORTCUTS
Select configuration
Find Action ⇧⌘A ⌃⌥R/⌃⌥D
USAGE SEARCH and run /debug
Basic code completion ⌃ Space Step over /into F8/F7
Find usages ⌥F
Smart code completion ⌃⇧Space Evaluate expression ⌥F8
Find usages in file ⌘F7
Show intention actions and quick-fixes ⌥↩ Toggle breakpoint ⌘ F8
Highlight usages in file ⌘⇧F7
Refactor this... ⌃T
Show usages ⌘⌥F7
Generate code ⌘N VCS / LOCAL HISTORY
Surround with if, while, #ifdef, etc. ⌥⌘T Commit project to VCS ⌘K
REFACTORING
Parameter info ⌘P Update project from VCS ⌘T
Rename ⇧F6
Go to class by its name ⌘O Push commits ⌘⇧K
Change Signature ⌘F6
Use file structure for navigation ⌘F12 ‘VCS’ quick popup ⌃V
Inline ⌥⌘N
Search everywhere Double⇧
Extract function ⌥⌘M
Find usages ⌥F7 LIVE TEMPLATES
Safe delete ⌘⌦
Surround with Live Template ⌘⌥J
Introduce variable ⌥⌘V
DON’T REMEMBER A SHORTCUT? Insert Live Template ⌘J
Introduce parameter ⌥⌘P
Find Action ⇧⌘A

SEARCH / REPLACE
EDITING
Find /Replace ⌘F/⌘R
Complete statement ⌘⇧↩
Find in path ⌘⇧F
Override functions ⌃O
Select next occurrence ⌃G
Implement functions ⌃I
Surround with.. ⌘⌥ T
NAVIGATION
Comment/uncomment
⌘/ Go to class ⌘O
with line comment
Comment/uncomment Go to file ⌘⇧O
with block comment
⌘⌥/
Go to symbol ⌘⌥O 20661

You might also like