IntelliJ Shortcuts

General

CMD+0..9

Open corresponding tool window

CMD+OPTION+Y

Synchronize

CMD+SHIFT+F12

Toggle maximizing editor

OPTION+SHIFT+I

Inspect current file with current profile

CMD+,

Open Settings dialog

CMD+;

Open project structure dialog

CMD+SHIFT+A

Find action

Debugging

F8

Step over

F7

Step into

SHIFT+F8

Smart step into

SHIFT+F7

Step out

OPTION+F9

Run to cursor

OPTION+F8

Evaluate expression

CMD+OPTION+R

Resume program

CMD+F8

Toggle breakpoint

CMD+SHIFT+F8

View breakpoint

Search / Replace

Editing

CTRL+Space

Basic code completion

CTRL+SHIFT+Space

Smart code completion

CMD+SHIFT+Enter

Complete statement

CMD+P

Parameter info

CTRL+J

Quick documentation lookup

SHIFT+F1

External Doc

CMD+Mouse

Brief Info

CMD+F1

Show descriptions of error at caret

CMD+N CTRL+Enter

Generate code...

CTRL+O

Override methods

CTRL+I

Implement methods

CMD+OPTION+T

Surround with...

CMD+/

Comment / uncomment with line comment

CMD+OPTION+/

Comment / uncomment with block comment

OPTION+Page Up

Extend selection

OPTION+Page Down

Shrink selection

OPTION+SHIFT+Q

Context info

OPTION+Click

Show intention actions and quick- xes

OPTION+Enter

Reformat code

CTRL+OPTION+O

Optimize imports

CTRL+OPTION+I

Auto-indent line(s)

CMD+SHIFT+V

Paste from recent buffers

CMD+D

Duplicate current line

CMD+Return

Delete line at caret

CTRL+SHIFT+J

Smart line join

CMD+Enter

Smart line split

SHIFT+Enter

Start new line

CMD+SHIFT+U

Toggle case for word at caret or selected block

CMD+SHIFT+]

Select till code block end

CMD+SHIFT+[

Select till code block start

OPTION+Return

Delete to word end

OPTION+Return

Delete to word start

CMD++

Expand code block

CMD+-

Collapse code block

CMD+SHIFT++

Expand all

CMD+SHIFT+-

Collapse all

Refactoring

F5

Copy

F6

Move

CMD+Delete

Safe delete

SHIFT+F6

Rename

CTRL+T

Refactor this

CMD+F6

Change signature

CMD+OPTION+N

Inline

CMD+OPTION+M

Extract method

CMD+OPTION+V

Extract variable

CMD+OPTION+F

Extract field

CMD+OPTION+C

Extract constant

CMD+OPTION+P

Extract parameter

Navigation

CMD+O

Go to class

CMD+SHIFT+O

Go to file

CMD+OPTION+O

Go to symbol

CTRL+Arrow Left

Go to next

F12

Go back to previous tool window

CMD+L

Go to line

CMD+E

Recent files popup

CMD+OPTION+Arrow Left

Navigate back

CMD+OPTION+Arrow Right

Navigate forward

CMD+SHIFT+Return

Navigate to last edit location

OPTION+F1

Select current file or symbol in any view

CMD+B

Go to declaration

CMD+OPTION+B

Go to implementation(s)

CMD+Y

Open quick definition lookup

CTRL+SHIFT+B

Go to type declaration

CMD+U

Go to super-method

CTRL+Page Up

Go to previous

CTRL+Page Down

Go to next method

CMD+]

Move to code block end

CMD+[

Move to code block start

CTRL+H

File structure popup

CMD+SHIFT+H

Type hierarchy

CMD+OPTION+P

Method hierarchy

CTRL+OPTION+H

Call hierarchy

F2

Next / previous highlighted error

F4

Edit source / View source

F3

Toggle bookmark

OPTION+F3

Toggle bookmark with mnemonic

CTRL+0..9

Go to numbered bookmark

CMD+F3

Show bookmarks

Compile & Run

CMD+F9

Make project

CMD+SHIFT+F9

Compile selected file, package or module

CTRL+OPTION+R

Select configuration run

CTRL+OPTION+R

Run context configuration from editor

CTRL+OPTION+D

Select configuration debug

Usage Search

CMD+F7

Find usages in file

OPTION+F7

Find usages

CMD+SHIFT+F7

Highlight usages in file

CMD+OPTION+F7

Show usages

VCS / Local History

CMD+K

Commit project to VCS

CMD+T

Update project from VCS

CMD+SHIFT+K

Push commits

CTRL+V

VCS quick popup

CMD+OPTION+J

Surround with Live Template

CMD+J

Insert Live Template