Show Menu

IntelliJ IDEA Keyboard Shortcuts by

jetbrains     intellij     idea

Basics

Ctrl + /
Comment line
Ctrl + Shift + /
Comment block
Ctrl + D
Duplicate line
Alt + Shift + Down/Up
Move line
Ctrl + Alt + Shift + Down/Up
Move whole statement
Ctrl + - (number pad)
Collapse block
Ctrl + + (number pad)
Expand Block
Ctrl + Shift + +- (number pad)
Collap­se/­Expand whole file

Selections

Ctrl + A
Select whole file
Ctrl + W
Extend selection to next code block
Ctrl + Shift + W
Shrinks selection
Alt + J
Select next occurrence
Alt + Shift + J
Deselect last occurrence
Ctrl + Alt + Shift + J
Select all occurr­ences in file
Ctrl + Shift + F7
Highlight all usages in file

Code Completion

Ctrl + Space
Suggest (Enter for add/­Tab to overwrite)
Ctrl + Space x2
Deeper level of suggestion
Ctrl + Shift + Space
List of matching suggestion
Ctrl + Shift + Space x2
Suggestion in return statement
Ctrl + Shift + Enter
Complet statement
 

Refact­oring

Shift + F6
Rename
Ctrl + Alt + V
Extract variable or field
Ctrl + Alt + M
Encapsule code in new method
Ctrl + Alt + C
Extract selected expression into a constant
Ctrl + Alt + P
Extract selected expression into a parameter
Ctrl + Alt + T
Surround selected code

Code Assistance

Ctrl + P
See method signature
Ctrl + J
Insert live template
Ctrl + Q
See method docume­nta­ntion
Ctrl + Alt + L
Reformat code
Ctrl + Shift + i
See definition
F2
Next highli­ghted error in file
Ctrl + F1
See descri­ption error
Alt + Enter
See suggested solution

Navigation

Ctrl + N
Search Class
Ctrl + Shift + N
Search File
F4
Jump to source
Ctrl + B
Jump to declar­ation
Ctrl + Alt + B
Jump to implem­ent­ation
Ctrl + F12
See file structure

Download the IntelliJ IDEA Keyboard Shortcuts

1 Page
//media.cheatography.com/storage/thumb/dmop_intellij-idea.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Cursive on Mac OS X Keyboard Shortcuts
          IntelliJ Idea Cheat Sheet
          Cursive on Windows (sequences) Keyboard Shortcuts