Intellijidea Book
Intellijidea Book
Editing Ctrl + Space Basic code completion (the name of any class, method or variable) Ctrl + Shift + Space Smart code completion (filters the list of methods and variables by expected type) Ctrl + Alt + Space Class name completion (the name of any project class independently of current imports) Ctrl + Shift + Enter Complete statement Ctrl + P Parameter info (within method call arguments) Ctrl + Q Quick documentation lookup Shift + F1 External Doc Ctrl + mouse over code Brief Info Ctrl + F1 Show descriptions of error or warning at caret Alt + Insert Generate code... (Getters, Setters, Constructors, hashCode/equals, toString) Ctrl + O Override methods Ctrl + I Implement methods Ctrl + Alt + T Surround with... (if..else, try..catch, for, synchronized, etc.) Ctrl + / Comment/uncomment with line comment Ctrl + Shift + / Comment/uncomment with block comment Ctrl + W Select successively increasing code blocks Ctrl + Shift + W Decrease current selection to previous state Alt + Q Context info Alt + Enter Show intention actions and quick-fixes Ctrl + Alt + L Reformat code Ctrl + Alt + O Optimize imports Ctrl + Alt + I Auto-indent line(s) Tab / Shift + Tab Indent/unindent selected lines Ctrl + X or Shift + Delete Cut current line or selected block to clipboard Ctrl + C or Ctrl + Insert Copy current line or selected block to clipboard Ctrl + V or Shift + Insert Paste from clipboard Ctrl + Shift + V Paste from recent buffers... Ctrl + D Duplicate current line or selected block Ctrl + Y Delete line at caret Ctrl + Shift + J Smart line join Ctrl + Enter Smart line split Shift + Enter Start new line Ctrl + Shift + U Toggle case for word at caret or selected block Ctrl + Shift + ] / [ Select till code block end/start Ctrl + Delete Delete to word end Ctrl + Backspace Delete to word start Ctrl + NumPad+/- Expand/collapse code block Ctrl + Shift + NumPad+ Expand all Ctrl + Shift + NumPad- Collapse all Ctrl + F4 Close active editor tab Search/Replace Ctrl + F F3 Shift + F3 Ctrl + R Ctrl + Shift + F Ctrl + Shift + R Ctrl + Shift + S Ctrl + Shift + M Find Find next Find previous Replace Find in path Replace in path Search structurally (Ultimate Edition only) Replace structurally (Ultimate Edition only)
Copy Move Safe Delete Rename Change Signature Inline Extract Method Extract Variable Extract Field Extract Constant Extract Parameter Commit project to VCS Update project from VCS View recent changes VCS quick popup Surround with Live Template Insert Live Template Iteration according to Java SDK 1.5 style Check object type with instanceof and downcast it Iterate elements of java.util.Collection Iterate elements of java.util.Iterator Iterate elements of java.util.List public static final throw new
To find any action inside the IDE use Find Action (Ctrl+Shift+A/ A)
www.jetbrains.com/idea
blogs.jetbrains.com/idea
@intellijidea