Saturday, 1 February 2014

IntelliJ IDEA keyboard shortcuts - 4

In this tutorials we are going to see IntelliJ IDEA keyboard shortcuts for Refactoring, VCS/Local History, Live Templates, and General shortcuts.

Refactoring

Shortcuts

Descriptions

F5

Copy

F6

Move

Alt + Delete Safe Delete
Shift + F6 Rename
Ctrl + F6 Change Signature
Ctrl + Alt + N Inline
Ctrl + Alt + M Extract Method
Ctrl + Alt + V Extract Variable
Ctrl + Alt + F Extract Field
Ctrl + Alt + C Extract Constant
Ctrl + Alt + P Extract Parameter

VCS/Local History

Shortcuts

Descriptions

Ctrl + K Commit project to VCS
Ctrl + T Update project from VCS
Alt + Shift + C View recent changes
Alt + BackQuote (`) VCS’ quick popup

Live Templates

Shortcuts

Descriptions

Ctrl + Alt + J

Surround with Live Template

Ctrl + J Insert Live Template

iter

Iteration according to Java SDK 1.5 style

inst Check object type with instanceof and downcast it
itco Iterate elements of java.util.Collection

itit

Iterate elements of java.util.Iterator

itli Iterate elements of java.util.List
psf public static final
thr throw new

General

Shortcuts

Descriptions

Alt + #[0-9]

Open corresponding tool window

Ctrl + S

Save all

Ctrl + Alt + Y

Synchronize

Ctrl + Shift + F12

Toggle maximizing editor

Alt + Shift + F

Add to Favorites

Alt + Shift + I

Inspect current file with current profile

Ctrl + BackQuote (`)

Quick switch current scheme

Ctrl + Alt + S

Open Settings dialog

Ctrl + Alt + Shift + S

Open Project Structure dialog

Ctrl + Shift + A

Find Action

Ctrl + Tab

Switch between tabs and tool window

0 comments

Post a Comment