Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
213 views4 pages

Intellij Idea Shortcuts

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 4

IntelliJ IDEA Shortcuts

141 Shortcuts (Windows)

Productivity Ctrl+Shift+/ Comment/uncomment with block comment


Ctrl+N To quickly open any class.
Ctrl+W Select successively increasing code blocks
Ctrl+Shift+N To quickly open any file.
Ctrl+Shift+W Decrease current selection to previous state
Ctrl+Shift+F12 Toggle tools (maximize/minimize code window).
Alt+Q Context info
Ctrl+Space Code completion.
Alt+Enter Show intention actions and quick-fixes
Alt+F7 To find all places where a particular class, method or variable is used in
the whole project by positioning the caret at the symbol's name or at its Ctrl+Alt+L Reformat code
usage in code.
Ctrl+Alt+O [O]ptimize imports
Crtl+P To quickly see the documentation for the class or method used at the
editor's caret. Ctrl+Alt+I Auto-[i]ndent line(s)

Tab/Shift+Tab Indent/unindent selected lines


Editing

Ctrl+Space Basic code completion (the name of any class, method or variable) Ctrl+X/Shift+Delet Cut current line or selected block to clipboard
e
Ctrl+Shift+Space Smart code completion (filters the list of methods and variables by
expected type) Ctrl+C/Ctrl+Insert Copy current line or selected block to clipboard

Ctrl+Shift+Enter Complete statement Ctrl+V/Shift+Inser Paste from clipboard


t
Ctrl+P [P]arameter info (within method call arguments)
Ctrl+Shift+V Paste from recent buffers...
Ctrl+Q [Q]uick documentation lookup
Ctrl+D [D]uplicate current line or selected block
Shift+F1 External Doc
Ctrl+Y Delete line at caret
Ctrl+ mouse over Brief Info
code Ctrl+Shift+J Smart line [j]oin

Ctrl+F1 Show descriptions of error or warning at caret Ctrl+Enter Smart line split

Alt+Insert Generate code... (Getters, Setters, Constructors, hashCode/equals, Shift+Enter Start new line
toString)
Ctrl+Shift+U Toggle case for word at caret or selected block
Ctrl+O [O]verride methods
Ctrl+Shift+/ Select till code block end/start
Ctrl+I [I]mplement methods
Ctrl+Delete Delete to word end
Ctrl+Alt+T Surround with? (if..else, try..catch, for, synchronized, etc.)
Ctrl+Backspace Delete to word start
Ctrl+/ Comment/uncomment with line comment
Ctrl+ NumPad Expand/collapse code block
plus/-

ShortcutWorld.com Page 1 Terms of Use apply


IntelliJ IDEA Shortcuts
141 Shortcuts (Windows)

Ctrl+Shift+ Expand all / collapse all Search/Replace


NumPad plus/-
Double Shift Search everywhere
Ctrl+F4 Close active editor tab
Ctrl+F [F]ind
Alt+F7/Ctrl+F7 Find usages / Find usages in file
F3/Shift+F3 Find next / Find previous
Ctrl+Shift+F7 Highlight usages in file
Ctrl+R [R]eplace
Ctrl+Alt+F7 Show usages
Ctrl+Shift+F [F]ind in path
F5 Copy
Ctrl+Shift+R [R]eplace in path
F6 Move
Compile and Run
Alt+Delete Safe Delete
Ctrl+F9 Make project (compile modifed and dependent)
Shift+F6 Rename
Ctrl+Shift+F9 Compile selected file, package or module
Ctrl+F6 Change Signature
Alt+Shift+F10 Select configuration and run
Ctrl+Alt+N I[n]line
Alt+Shift+F9 Select configuration and debug
Ctrl+Alt+M Extract [M]ethod
Shift+F10 Run
Ctrl+Alt+V Extract [V]ariable
Shift+F9 Debug
Ctrl+Alt+F Extract [F]ield
Ctrl+Shift+F10 Run context configuration from editor
Ctrl+Alt+C Extract [C]onstant
Debugging
Ctrl+Alt+P Extract [P]arameter
Ctrl+K Commit project to VCS

Ctrl+T Update project from VCS

Alt+Shift+C View recent [c]hanges

Alt+` ?VCS? quick popup

F8 Step over

F7 Step into

Shift+F7 Smart step into

ShortcutWorld.com Page 2 Terms of Use apply


IntelliJ IDEA Shortcuts
141 Shortcuts (Windows)

Shift+F8 Step out Navigation

Ctrl+N Go to class
Alt+F9 Run to cursor
Ctrl+Shift+N Go to file
Alt+F8 Evaluate expression
Ctrl+Alt+Shift+N Go to symbol
F9 Resume program
Alt+ Right/Left Go to next/previous editor tab
Ctrl+F8 Toggle breakpoint
F12 Go back to previous tool window
Ctrl+Shift+F8 View breakpoints
Esc Go to editor (from tool window)
Live Templates
Shift+Esc Hide active or last active window
Ctrl+Alt+J Surround with Live Template
Ctrl+Shift+F4 Close active run/messages/find/... tab
Ctrl+J Insert Live Template
Ctrl+G [G]o to line
Ctrl+J - iter [Iter]ation according to Java SDK 1.5 style
Ctrl+E R[e]cent files popup
Ctrl+J - inst Check object type with [inst]anceof and downcast it
Ctrl+Alt+Arrow Navigate backward / navigate forward
Ctrl+J - itco [It]erate [Co]llection / Iterate elements of java.util.Collection Left/Arrow Right

Ctrl+J - itit [It]erate [It]terator / IIterate elements of java.util.Iterator Ctrl+Shift+Backsp Navigate to last edit location
ace
Ctrl+J - itli [It]erate [Li]st / Iterate elements of java.util.List
Alt+F1 Select current file or symbol in any view
Ctrl+J - psf [P]ublic [s]tatic [f]inal
Ctrl+B/Ctrl+ Click Go to declaration
Ctrl+J - thr [thr]ow new
Ctrl+Alt+B Go to implementation(s)

Ctrl+Shift+I Open quick definition lookup

Ctrl+Shift+B Go to type declaration

Ctrl+U Go to s[u]per-method/super-class

Alt+Arrow Go to previous/next method


Up/Arrow Down

Ctrl+/ Move to code block end / move to code start

Ctrl+F12 File structure popup

ShortcutWorld.com Page 3 Terms of Use apply


IntelliJ IDEA Shortcuts
141 Shortcuts (Windows)

Ctrl+H Type hierarchy Multiple Selection

Alt+Shift+Mouse Add/remove a selection


Ctrl+Shift+H Method [h]ierarchy Click

Ctrl+Alt+H Call [h]ierarchy Alt+J Select the next occurrence

F2/Shift+F2 Next/previous highlighted error Shift+Alt+J Unselect the next occurrence

F4/Ctrl+Enter Edit source / View source Shift+Ctrl+Alt+J Select all occurrences

Alt+Home Show navigation bar Esc Remove all selections

F11 Toggle bookmark

Ctrl+F11 Toggle bookmark with mnemonic

Ctrl+0...9 Go to numbered bookmark

Shift+F11 Show bookmarks

General

Alt+0...9 Open corresponding tool window

Ctrl+S [S]ave all

Ctrl+Alt+Y S[y]nchronize

Ctrl+Shift+F12 Toggle maximizing editor

Alt+Shift+F Add to [F]avorites

Alt+Shift+I [I]nspect current file with current profile

Ctrl+` Quick switch current scheme

Ctrl+Alt+S Open [S]ettings dialog

Ctrl+Alt+Shift+S Open Project [S]tructure dialog

Ctrl+Shift+A Find [A]ction

Ctrl+Tab Switch between tabs and tool window

Ctrl+Shift+Alt+Ins Create new scratch file


ert

ShortcutWorld.com Page 4 Terms of Use apply

You might also like