Reference Card For Mac

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Search/Replace Refactoring

F / R Find/Replace T Refactor This (shows all available refactorings)


DEFAULT OS X KEYMAP G/ G Find next/previous F5/F6 Copy/Move
F/ R Find/Replace in path Safe Delete
Double Search everywhere F6 Rename
Editing F6 Change Signature
Usage Search N Inline
Space Basic code completion (the name of M Extract Function
any class, function or variable) F7 Find usages V Introduce Variable
Space Smart code completion (filters the list of F7 Find usages in file P Introduce Parameter
functions and variables by expected type) F7 Highlight usages in file C Introduce Constant
Complete statement F7 Show usages D Introduce Define
P Show parameters info of the function
call at caret Compile and Run Debugging
J , F1 Quick documentation lookup
+ mouse over code Brief Info F9 Build Project F8 / F7 Step over/into
F1 Show descriptions of error or warning at caret R Run F8 Step out
N Generate code... D Debug F9 Run to cursor
(Getters, Setters, Constructors, Destructors) R Select configuration and run F8 Evaluate expression
O Override base class functions in the D Select configuration and debug R Resume program
current class F8 Toggle breakpoint
I Implement functions in the current class Navigation F8 View breakpoints
T Surround selected code fragment with if,
while, try/catch, #ifdef or other construct O Go to class VCS/Local History
/ Comment/uncomment current line or O Go to file
selected block with line comments O Go to symbol K Commit project to VCS
/ Comment/uncomment code with ] Go to next editor tab T Update project from VCS
block comment [ Go to previous editor tab C View recent changes
Select successively increasing code blocks F12 Go back to previous tool window V VCS’ quick popup
Decrease current selection to previous state Go to editor (from tool window)
Show intention actions and quick-fixes Hide active or last active window Live Templates
L Reformat code F4 Close active tool window tab
O Optimize includes L Go to line J Surround the selection with Live Template
I Auto-indent line(s) E Recent files popup J Insert Live Template
/ Indent/Unindent selected lines ] Navigate back for Indexed for(;;) loop
X Cut current line or selected block to clipboard [ Navigate forward iter Iterate range (C++11)
C Copy current line or selected block Navigate to last edit location itit Iterate using begin/end member functions
to clipboard F1 Select the current class or function incboost In CMake include directories with Boost
V Paste from clipboard in any view function In CMake create new function definition
V Paste from recent buffers Go to related symbol (header or source file)
D Duplicate current line or selected block B , Click Go to declaration General
Delete line at caret B Go to definition
J/ Smart line join/Smart line split Space Open quick definition lookup 0 ... 9 Open corresponding tool window
Start new line U Go to base class/base function F12 Hide all tool windows
U Toggle case for word at caret or / Go to previous/next function F Toggle Full Screen mode
selected block ]/ [ Move to code block end/start F Add to Favorites
]/ [ Select till code block end/till code block start F12 Popup structure of the current file I Inspect current file with current profile
/ Delete to word end/start for quick navigation  ` Quick switch current scheme
+ / - Expand/Collapse code block H Type hierarchy , Edit application Preferences
+/ - Expand/Collapse all H Call hierarchy
W Close active editor tab F2 / F2 Next/previous highlighted error To find any action inside the IDE use Find Action ( A)
Click Place the caret in multiple locations F3 Toggle bookmark at the current location
Restore single carret mode F3 Toggle bookmark with mnemonic
G/ G Add/delete next occurrence of current word 0 ... 9 Go to numbered bookmark
to the selection F3 Show list of all bookmarks jetbrains.com/clion blog.jetbrains.com/clion @clion_ide

You might also like