Shortcuts Jetbrains CLion for Windows

120 shortcuts3,194 views
Open Trainer

Editing Shortcuts

WindowsAction
Ctrl+SpacebarBasic code completion (the name of any class, method or variable)
Ctrl+Shift+SpacebarSmart code completion (filters the list of methods and variables by expected type)
Ctrl+Shift+EnterComplete statement
Ctrl+PParameter info (within method call arguments)
Ctrl+QQuick documentation lookup
Ctrl+Mouse over codeBrief Info
Ctrl+F1Show descriptions of error or warning at caret
Alt+InsertGenerate code... (Getters, Setters, Constructors, hashCode/equals, toString)
Ctrl+OOverride methods
Ctrl+IImplement methods
Ctrl+Alt+TSurround with… (if..else, try..catch, for, synchronized, etc.)
Ctrl+/Comment/uncomment with line comment
Ctrl+Shift+/Comment/uncomment with block comment
Ctrl+WSelect successively increasing code blocks
Ctrl+Shift+WDecrease current selection to previous state
Alt+QShow Intension actions and QuickFixes
Ctrl+Alt+LReformat code
Ctrl+Alt+OOptimize imports
Ctrl+Alt+IAuto-indent line(s)
Tab/Shift+TabIndent/unindent selected lines
Ctrl+XCut current line or selected block to clipboard
Ctrl+CCopy current line or selected block to clipboard
Ctrl+VPaste from clipboard
Ctrl+Shift+VPaste from recent buffers...
Ctrl+DDuplicate current line or selected block
Ctrl+YDelete line at caret
Ctrl+Shift+JSmart line join
Ctrl+EnterSmart line split
Shift+EnterStart new line
Ctrl+Shift+UToggle case for word at caret or selected block
Ctrl+Shift+]/[Select till code block end/start
Ctrl+DeleteDelete to word end
Ctrl+BackspaceDelete to word start
Ctrl+NumPad+/-Expand/collapse code block
Ctrl+Alt+NumPad+/-Expand all / collapse all
Ctrl+F4Close active editor tab
Alt+Shift+ClickPlace caret in Multiple Location
EscRestore Single Caret Mode
Alt+G/Alt+Shift+GAdd/Delete Next Occurance of Current Word to Selection

Find and Replace

WindowsAction
Double ShiftSearch everywhere
Ctrl+FFind
F3 / Shift+F3Find next/Find previous
Ctrl+RReplace
Ctrl+Shift+FFind in path
Ctrl+Shift+RReplace in path

Compile and Run

WindowsAction
Ctrl+F9Build Project
Alt+Shift+F10Select configuration and run
Alt+Shift+F9Select configuration and debug
Shift+F10Run
Shift+F9Debug

Debugging

WindowsAction
F8Step over
F7Step into
Shift+F8Step out
Alt+F9Run to cursor
Alt+F8Evaluate expression
F9Resume program
Ctrl+F8Toggle breakpoint
Ctrl+Shift+F8View breakpoints

Live Templates

WindowsAction
Ctrl+Alt+JSurround with Live Template
Ctrl+JInsert Live Template
forIndexed for( ; ; ) loop
iterIterate range(C++11)
ititIterate using Begin/End Member Functions
incboostIn CMake include directions with Boost
functionIn CMake create New Function Definitor

Navigation Shortcuts

WindowsAction
Ctrl+NGo to class
Ctrl+Shift+NGo to file
Ctrl+Alt+Shift+NGo to symbol
Alt+Right Arrow/Left ArrowGo to next/previous editor tab
F12Go back to previous tool window
EscGo to editor (from tool window)
Shift+EscHide active or last active window
Ctrl+Shift+F4Close active run/messages/find/... tab
Ctrl+GGo to line
Ctrl+ERecent files popup
Ctrl+Alt+Left Arrow/Right ArrowNavigate backward / navigate forward
Ctrl+Shift+BackspaceNavigate to last edit location
Alt+F1Select current file or symbol in any view
Ctrl+BGo to declaration
Ctrl+Alt+BGo to implementation(s)
Ctrl+Alt+HomeGo to related Symbol(Header/Source File)
Ctrl+Shift+IOpen quick definition lookup
Ctrl+Shift+BGo to type declaration
Ctrl+UGo to super-method/super-class
Alt+Up Arrow/Down ArrowGo to previous/next method
Ctrl+]/[Move to code block end / move to code start
Ctrl+F12File structure popup
Ctrl+HType hierarchy
Ctrl+Alt+HCall hierarchy
F2/Shift+F2Next/previous highlighted error
F11Toggle bookmark
Ctrl+F11Toggle bookmark with mnemonic
Ctrl+0...9Go to numbered bookmark
Shift+F11Show bookmarks

General

WindowsAction
Alt+0...9Open corresponding tool window
Alt+Shift+IInspect current file with current profile
Ctrl+`Quick switch current scheme
Ctrl+Alt+SEdit Application Settings
Ctrl+Shift+F12Hide All Tool Windows
Alt+Shift+FAdd to Favourites

Usage Search

WindowsAction
Alt+F7Find Usage
Ctrl+F7Find Usages in File
Ctrl+Shift+F7Highlight Usages in File
Ctrl+Alt+F7Show Usages

VCS/Local History

WindowsAction
Ctrl+KCommit Project to VCS
Ctrl+TUpdate Project from VCS
Alt+Shift+CView Recent Changes
Alt+`VCS Quick Popup

Refactoring

WindowsAction
Ctrl+Alt+Shift+TRefactor This
F5Copy
F6Move
Alt+Deletesafe Delete
Shift+F6Rename
Ctrl+F6Change Signature
Ctrl+Alt+MExtract Function
Ctrl+Alt+NInline
Ctrl+Alt+PIntroduce parameter
Ctrl+Alt+VIntroduce Variable
Ctrl+Alt+CIntroduce Constant
Ctrl+Alt+DIntroduce Define