_referencecard

1

Click here to load reader

Upload: sunil-kumar-r

Post on 18-Sep-2015

216 views

Category:

Documents


2 download

DESCRIPTION

CLion

TRANSCRIPT

  • jetbrains.com/clion blog.jetbrains.com/clion

    To find any action inside the IDE use Find Action ( Ctrl + Shift + A )

    @clion_ide

    Default KeymapRefactoringCtrl + Alt + Shift +T Refactor This (shows all available refactorings)F5/F6 Copy/MoveAlt + Delete Safe DeleteShift + F6 RenameCtrl + F6 Change SignatureCtrl + Alt + N InlineCtrl + Alt + M Extract Function Ctrl + Alt + V Introduce VariableCtrl + Alt + P Introduce ParameterCtrl + Alt + C Introduce ConstantCtrl + Alt + D IntroduceDefine

    VCS/Local HistoryCtrl + K Commit project to VCSCtrl + T Update project from VCSShift + Alt + C View recent changesAlt + BackQuote (`) VCS quick popup

    Live TemplatesCtrl + Alt + J Surround the selection with Live TemplateCtrl + J Insert Live Templatefor Indexed for(;;) loopiter Iterate C++ container

    GeneralAlt + 0 ... Alt + 9 Open corresponding tool windowCtrl + Shift + F12 Hide all tool windowsAlt + Shift + F Add to FavoritesAlt + Shift + I InspectcurrentfilewithcurrentprofileCtrl + BackQuote (`) Quick switch current schemeCtrl + Alt + S Edit application Settings

    Usage SearchAlt + F7 Find usagesCtrl + F7 FindusagesinfileCtrl +Shift + F7 HighlightusagesinfileCtrl + Alt + F7 Show usages

    Compile and RunCtrl + F9 Build ProjectShift + F10 RunShift + F9 DebugAlt + Shift + F10 SelectconfigurationandrunAlt + Shift + F9 Selectconfigurationanddebug

    DebuggingF8 / F7 Step over/intoShift + F8 Step outAlt + F9 Run to cursorAlt + F8 Evaluate expressionF9 Resume programCtrl + F8 Toggle breakpointCtrl + Shift + F8 View breakpoints

    NavigationCtrl + N Go to classCtrl + Shift + N GotofileCtrl + Alt + Shift +N Go to symbolAlt + Right/Left Go to next/previous editor tabF12 Go back to previous tool windowEscape Go to editor (from tool window)Shift + Esc Hide active or last active windowCtrl + Shift + F4 Close active tool window tabCtrl + G Go to lineCtrl + E RecentfilespopupCtrl + Alt + Right Navigate backCtrl + Alt + Left Navigate forwardCtrl+Shift+Backspace Navigate to last edit locationAlt + F1 Select the current class or function in any viewCtrl + Alt + Home Gotorelatedsymbol(headerorsourcefile)Ctrl + B Go to declarationCtrl + Alt + B GotodefinitionCtrl + Shift + I OpenquickdefinitionlookupCtrl + U Go to base class/base functionAlt + Up / Alt + Down Go to previous/next function Ctrl + ] / Ctrl + [ Move to code block end/startCtrl + F12 Popupstructureofthecurrentfile for quick navigationCtrl + H Type hierarchyCtrl + Alt + H Call hierarchyF2 / Shift + F2 Next/previous highlighted errorF11 Toggle bookmark at the current locationCtrl + F11 Toggle bookmark with mnemonicCtrl + 0 ... Ctrl + 9 Go to numbered bookmarkShift + F11 Show list of all bookmarks

    Copy

    right

    Je

    tBra

    ins

    2015

    . Al

    l Rig

    hts

    Rese

    rved

    . DSG

    N-1

    711

    EditingCtrl + Space Basic code completion (the name of any class, function or variable) Ctrl + Shift + Space Smartcodecompletion(filtersthelistof functions and variables by expected type)Ctrl + Shift + Enter Complete statementCtrl + P Show parameters info of the function call at caretCtrl + Q Quick documentation lookupCtrl + mouseovercode Brief InfoCtrl + F1 Show descriptions of error or warning at caretAlt + Insert Generate code... (Getters, Setters, Constructors, Destructors)Ctrl + O Override base class functions in the current classCtrl + I Implement functions in the current classCtrl + Alt + T Surround selected code fragment with if, while, try/catch, #ifdef or other constructCtrl + / Comment/uncomment current line or selected block with line commentsCtrl + Shift + / Comment/uncomment code with block commentsCtrl + W Select successively increasing code blocksCtrl + Shift + W Decrease current selection to previous state Alt + Q Showintentionactionsandquick-fixesCtrl + Alt + L Reformat codeCtrl + Alt + O Optimize includesCtrl + Alt + I Auto-indent line(s)Tab / Shift + Tab Indent/Unindent selected linesCtrl + X Cut current line or selected block to clipboardCtrl + C Copy current line or selected block to clipboardCtrl + V Paste from clipboardCtrl + Shift + V PastefromrecentbuffersCtrl + D Duplicate current line or selected blockCtrl + Y Delete line at caretCtrl + Shift + J Smart line joinCtrl + Enter Smart line splitShift + Enter Start new lineCtrl + Shift + U Toggle case for word at caret or selected blockCtrl + Shift + ]/[ Select till code block end/startCtrl + Delete Delete to word endCtrl + Backspase Delete to word startCtrl + NumPad+/- Expand/Collapse code blockCtrl+Alt+NumPad+/- Expand/Collapse allCtrl + F4 Close active editor tabAlt + Shift + Click Place the caret in multiple locationsEsc Restore single carret modeAlt + G Add next occurrence of current word to the selectionAlt + Shift + G Delete next occurrence of current word from the selection

    Search/ReplaceCtrl + F/R Find/ReplaceF3 / Shift + F3 Find next/previousCtrl + Shift + F/R Find/Replace in pathDouble Search everywhere