120 Shortcuts for Jetbrains CLion (Windows)  [edit]

minimize Hide all  maximize Show all

minusplus1. Editing Shortcuts
Ctrl+Spacebar Basic code completion (the name of any class, method or variable)
Ctrl+Shift+Spacebar Smart code completion (filters the list of methods and variables by expected type)
Ctrl+Shift+Enter Complete statement
Ctrl+P Parameter info (within method call arguments)
Ctrl+Q Quick documentation lookup
Ctrl+Mouse over code Brief Info
Ctrl+F1 Show descriptions of error or warning at caret
Alt+Insert Generate code... (Getters, Setters, Constructors, hashCode/equals, toString)
Ctrl+O Override methods
Ctrl+I Implement methods
Ctrl+Alt+T Surround with… (if..else, try..catch, for, synchronized, etc.)
Ctrl+/ Comment/uncomment with line comment
Ctrl+Shift+/ Comment/uncomment with block comment
Ctrl+W Select successively increasing code blocks
Ctrl+Shift+W Decrease current selection to previous state
Alt+Q Show Intension actions and QuickFixes
Ctrl+Alt+L Reformat code
Ctrl+Alt+O Optimize imports
Ctrl+Alt+I Auto-indent line(s)
Tab/Shift+Tab Indent/unindent selected lines
Ctrl+X Cut current line or selected block to clipboard
Ctrl+C Copy current line or selected block to clipboard
Ctrl+V Paste from clipboard
Ctrl+Shift+V Paste from recent buffers...
Ctrl+D Duplicate current line or selected block
Ctrl+Y Delete line at caret
Ctrl+Shift+J Smart line join
Ctrl+Enter Smart line split
Shift+Enter Start new line
Ctrl+Shift+U Toggle case for word at caret or selected block
Ctrl+Shift+]/[ Select till code block end/start
Ctrl+Delete Delete to word end
Ctrl+Backspace Delete to word start
Ctrl+ NumPad +/- Expand/collapse code block
Ctrl+Alt+ NumPad +/- Expand all / collapse all
Ctrl+F4 Close active editor tab
Alt+Shift+Click Place caret in Multiple Location
Esc Restore Single Caret Mode
Alt+G/Alt+Shift+G Add/Delete Next Occurance of Current Word to Selection

▲ up

minusplus2. Find and Replace
Double Shift Search everywhere
Ctrl+F Find
F3 / Shift+F3 Find next/Find previous
Ctrl+R Replace
Ctrl+Shift+F Find in path
Ctrl+Shift+R Replace in path

▲ up

minusplus3. Compile and Run
Ctrl+F9 Build Project
Alt+Shift+F10 Select configuration and run
Alt+Shift+F9 Select configuration and debug
Shift+F10 Run
Shift+F9 Debug

▲ up

minusplus4. Debugging
F8 Step over
F7 Step into
Shift+F8 Step out
Alt+F9 Run to cursor
Alt+F8 Evaluate expression
F9 Resume program
Ctrl+F8 Toggle breakpoint
Ctrl+Shift+F8 View breakpoints

▲ up

minusplus5. Live Templates
Ctrl+Alt+J Surround with Live Template
Ctrl+J Insert Live Template
for Indexed for( ; ; ) loop
iter Iterate range(C++11)
itit Iterate using Begin/End Member Functions
incboost In CMake include directions with Boost
function In CMake create New Function Definitor

▲ up

minusplus6. Navigation Shortcuts
Ctrl+N Go to class
Ctrl+Shift+N Go to file
Ctrl+Alt+Shift+N Go to symbol
Alt+Right Arrow/Left Arrow Go to next/previous editor tab
F12 Go back to previous tool window
Esc Go to editor (from tool window)
Shift+Esc Hide active or last active window
Ctrl+Shift+F4 Close active run/messages/find/... tab
Ctrl+G Go to line
Ctrl+E Recent files popup
Ctrl+Alt+Left Arrow/Right Arrow Navigate backward / navigate forward
Ctrl+Shift+Backspace Navigate to last edit location
Alt+F1 Select current file or symbol in any view
Ctrl+B Go to declaration
Ctrl+Alt+B Go to implementation(s)
Ctrl+Alt+Home Go to related Symbol(Header/Source
File)
Ctrl+Shift+I Open quick definition lookup
Ctrl+Shift+B Go to type declaration
Ctrl+U Go to super-method/super-class
Alt+Up Arrow/Down Arrow Go to previous/next method
Ctrl+]/[ Move to code block end / move to code start
Ctrl+F12 File structure popup
Ctrl+H Type hierarchy
Ctrl+Alt+H Call hierarchy
F2/Shift+F2 Next/previous highlighted error
F11 Toggle bookmark
Ctrl+F11 Toggle bookmark with mnemonic
Ctrl+0...9 Go to numbered bookmark
Shift+F11 Show bookmarks

▲ up

minusplus7. General
Alt+0...9 Open corresponding tool window
Alt+Shift+I Inspect current file with current profile
Ctrl+` Quick switch current scheme
Ctrl+Alt+S Edit Application Settings
Ctrl+Shift+F12 Hide All Tool Windows
Alt+Shift+F Add to Favourites

▲ up

minusplus8. Usage Search
Alt+F7 Find Usage
Ctrl+F7 Find Usages in File
Ctrl+Shift+F7 Highlight Usages in File
Ctrl+Alt+F7 Show Usages

▲ up

minusplus9. VCS/Local History
Ctrl+K Commit Project to VCS
Ctrl+T Update Project from VCS
Alt+Shift+C View Recent Changes
Alt+` VCS Quick Popup

▲ up

minusplus10. Refactoring
Ctrl+Alt+Shift+T Refactor This
F5 Copy
F6 Move
Alt+Delete safe Delete
Shift+F6 Rename
Ctrl+F6 Change Signature
Ctrl+Alt+M Extract Function
Ctrl+Alt+N Inline
Ctrl+Alt+P Introduce parameter
Ctrl+Alt+V Introduce Variable
Ctrl+Alt+C Introduce Constant
Ctrl+Alt+D Introduce Define

▲ up

 

Sources: CLion Reference Card


Uploaded by rank17, updated on 6/7/2017