IntelliJIDEA

Embed Size (px)

DESCRIPTION

IntelliJIDEA_ReferenceCard

Citation preview

  • IntelliJ IDEA Default Keymap IntelliJ IDEA Default Keymap IntelliJ IDEA Default Keymap

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

    11/2

    013

    (DSG

    N-9

    06) C

    opyr

    ight

    Je

    tBra

    ins.

    200

    0-20

    13.

    All

    Righ

    ts R

    eser

    ved.

    www.jetbrains.com/idea blogs.jetbrains.com/idea @intellijidea

    Usage SearchAlt + F7 / Ctrl + F7 Find usages / Find usages in fileCtrl + Shift + F7 Highlight usages in fileCtrl + Alt + F7 Show usages

    Compile and RunCtrl + F9 Make project (compile modifed and dependent)Ctrl + Shift + F9 Compile selected file, package or moduleAlt + Shift + F10 Select configuration and runAlt + Shift + F9 Select configuration and debugShift + F10 RunShift + F9 DebugCtrl + Shift + F10 Run context configuration from editor

    DebuggingF8 Step overF7 Step intoShift + F7 Smart step 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 Go to fileCtrl + Alt + Shift + N Go to symbolAlt + Right/Left Go to next/previous editor tabF12 Go back to previous tool windowEsc Go to editor (from tool window)Shift + Esc Hide active or last active windowCtrl+Shift+F4 Close active run/messages/find/... tabCtrl+G Go to lineCtrl+E Recent files popupCtrl+Alt + Left/Right Navigate back/forwardCtrl+Shift+Backspace Navigate to last edit locationAlt + F1 Select current file or symbol in any viewCtrl + B or Ctrl + Click Go to declarationCtrl + Alt + B Go to implementation(s)Ctrl + Shift + I Open quick definition lookupCtrl + Shift + B Go to type declarationCtrl + U Go to super-method/super-classAlt + Up/Down Go to previous/next methodCtrl + ] / [ Move to code block end/startCtrl + F12 File structure popupCtrl + H Type hierarchyCtrl + Shift + H Method hierarchyCtrl + Alt + H Call hierarchyF2 / Shift + F2 Next/previous highlighted errorF4 / Ctrl + Enter Edit source / View sourceAlt + Home Show navigation barF11 Toggle bookmarkCtrl + F11 Toggle bookmark with mnemonicCtrl + #[0-9] Go to numbered bookmarkShift + F11 Show bookmarks

    RefactoringF5 CopyF6 MoveAlt + Delete Safe DeleteShift + F6 RenameCtrl + F6 Change SignatureCtrl + Alt + N InlineCtrl + Alt + M Extract MethodCtrl + Alt + V Extract VariableCtrl + Alt + F Extract FieldCtrl + Alt + C Extract Constant Ctrl + Alt + P Extract Parameter

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

    Live TemplatesCtrl + Alt + J Surround with Live TemplateCtrl + J Insert Live Template

    iter Iteration according to Java SDK 1.5 styleinst Checkobjecttype with instanceof and downcast ititco Iterate elements of java.util.Collectionitit Iterate elements of java.util.Iteratoritli Iterate elements of java.util.Listpsf public static finalthr throw new

    GeneralAlt + #[0-9] Open corresponding tool windowCtrl + S Save allCtrl + Alt + Y SynchronizeCtrl + Shift + F12 Toggle maximizing editorAlt + Shift + F Add to FavoritesAlt + Shift + I Inspect current file with current profileCtrl + BackQuote (`) Quick switch current schemeCtrl + Alt + S Open Settings dialogCtrl + Alt + Shift + S Open Project Structure dialogCtrl + Shift + A Find ActionCtrl + Tab Switch between tabs and tool window

    EditingCtrl + Space Basic code completion (the name of any class, method or variable)Ctrl + Shift + Space Smart code completion (filters the list of methods and variables by expected type)Ctrl + Shift + Enter Complete statementCtrl + P Parameter info (within method call arguments)Ctrl + Q Quick documentation lookupShift + F1 External DocCtrl +mouseovercode Brief InfoCtrl + F1 Show descriptions of error or warning at caretAlt + Insert Generate code... (Getters, Setters, Constructors, hashCode/equals, toString)Ctrl + O Override methodsCtrl + I Implement methodsCtrl + Alt + T Surroundwith(if..else,try..catch, for, synchronized, etc.)Ctrl + / Comment/uncomment with line commentCtrl + Shift + / Comment/uncomment with block commentCtrl + W Select successively increasing code blocksCtrl + Shift + W Decrease current selection to previous stateAlt + Q Context infoAlt + Enter Show intention actions and quick-fixesCtrl + Alt + L Reformat codeCtrl + Alt + O Optimize importsCtrl + Alt + I Auto-indent line(s)Tab / Shift + Tab Indent/unindent selected linesCtrl+XorShift+Delete Cut current line or selected block to clipboardCtrl+CorCtrl+Insert Copy current line or selected block to clipboardCtrl+VorShift+Insert Paste from clipboardCtrl+Shift + V Paste from recent buffers...Ctrl+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 + Backspace Delete to word startCtrl + NumPad+/- Expand/collapse code blockCtrl + Shift+NumPad+ Expand allCtrl + Shift+NumPad- Collapse allCtrl + F4 Close active editor tab

    Search/ReplaceDouble Shift Search everywhereCtrl + F FindF3 Find nextShift + F3 Find previousCtrl + R ReplaceCtrl + Shift + F Find in pathCtrl + Shift + R Replace in pathCtrl + Shift + S Search structurally (Ultimate Edition only)Ctrl + Shift + M Replace structurally (Ultimate Edition only)