Shortcuts IntelliJ for Linux

137 shortcuts2,297 views
Open Trainer

Productivity

Action
To quickly open any class.
To quickly open any file.
Toggle tools (maximize/minimize code window).
Code completion.
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 usage in code.
To quickly see the documentation for the class or method used at the editor's caret.

Editing

Action
Basic code completion (the name of any class, method or variable)
Smart code completion (filters the list of methods and variables by expected type)
Complete statement
Parameter info (within method call arguments)
Quick documentation lookup
External Doc
Brief Info
Show descriptions of error or warning at caret
Generate code... (Getters, Setters, Constructors, hashCode/equals, toString)
Override methods
Implement methods
Surround with… (if..else, try..catch, for, synchronized, etc.)
Comment/uncomment with line comment
Comment/uncomment with block comment
Select successively increasing code blocks
Decrease current selection to previous state
Context info
Show intention actions and quick-fixes
Reformat code
Optimize imports
Auto-indent line(s)
Indent/unindent selected lines
Cut current line or selected block to clipboard
Copy current line or selected block to clipboard
Paste from clipboard
Paste from recent buffers...
Duplicate current line or selected block
Delete line at caret
Smart line join
Smart line split
Start new line
Toggle case for word at caret or selected block
Select till code block end/start
Delete to word end
Delete to word start
Expand/collapse code block
Expand all / collapse all
Close active editor tab
Find usages / Find usages in file
Highlight usages in file
Show usages
Copy
Move
Safe Delete
Rename
Change Signature
Inline
Extract Method
Extract Variable
Extract Field
Extract Constant
Extract Parameter

Search/Replace

Action
Search everywhere
Find
Find next / Find previous
Replace
Find in path
Replace in path
Search structurally (Ultimate Edition only)
Replace structurally (Ultimate Edition only)

Compile and Run

Action
Make project (compile modifed and dependent)
Compile selected file, package or module
Select configuration and run
Select configuration and debug
Run
Debug
Run context configuration from editor

Debugging

Action
Commit project to VCS
Update project from VCS
View recent changes
‘VCS’ quick popup
Step over
Step into
Smart step into
Step out
Run to cursor
Evaluate expression
Resume program
Toggle breakpoint
View breakpoints

Live Templates

Action
Surround with Live Template
Insert Live Template
Iteration according to Java SDK 1.5 style
Check object type with instanceof and downcast it
Iterate Collection / Iterate elements of java.util.Collection
Iterate Itterator / IIterate elements of java.util.Iterator
Iterate List / Iterate elements of java.util.List
Public static final
throw new

Navigation

Action
Go to class
Go to file
Go to symbol
Go to next/previous editor tab
Go back to previous tool window
Go to editor (from tool window)
Hide active or last active window
Close active run/messages/find/... tab
Go to line
Recent files popup
Navigate backward / navigate forward
Navigate to last edit location
Select current file or symbol in any view
Go to declaration
Go to implementation(s)
Open quick definition lookup
Go to type declaration
Go to super-method/super-class
Go to previous/next method
Move to code block end / move to code start
File structure popup
Type hierarchy
Method hierarchy
Call hierarchy
Next/previous highlighted error
Edit source / View source
Show navigation bar
Toggle bookmark
Toggle bookmark with mnemonic
Go to numbered bookmark
Show bookmarks

General

Action
Open corresponding tool window
Save all
Synchronize
Toggle maximizing editor
Add to Favorites
Inspect current file with current profile
Quick switch current scheme
Open Settings dialog
Open Project Structure dialog
Find Action
Switch between tabs and tool window