IDEA shortcuts
Yellow Common
Search class shortcuts
Shortcut Description
Ctrl + F Find a string within the file
Ctrl + Shift + F Find in accordance with the contents of the text
Double-click Shift for any content, but also the search path
Ctrl + Shift + R global resources Find and Replace
Ctrl + N class name search by category, such as Java, Groovy, Scala and other types of documents
Ctrl + Shift + N to search for all files by name
Ctrl + Shift + Alt + N symbol search, including the interface name, class name, function name, member variables
Ctrl + Shift + A command can find all Intellij
Editorial shortcuts
Shortcut Description
Ctrl + Z Undo
Ctrl + Shift + Z to cancel the revocation
Alternatively Ctrl + R
CTRL + D copies the current line to the next line
Ctrl + Y Delete the current line
Ctrl + O cover inherited methods
Ctrl + I implement interface method
Alt + Enter the most commonly used shortcuts, select Import package contains, and so help create
Ctrl + Shift + Space intelligent completion
Ctrl + Shif t + Enter auto-complete characters all end
Alt + Insert in the package is selected for the new file type; is added in the file constructor, Getter / Setter, toString realization
Ctrl + Alt + Insert in the current folder select the file type used to create the
Ctrl + Alt + T to select the code and surrounds
Ctrl + J insert Live Template, such as the main method, I direct Ctrl + J, then enter the main carriage return will auto-complete main () method
Ctrl + Alt + J Select Live template (template)
Ctrl + slash-line comment
Ctrl + Shift + slash multi-line comments
Ctrl + Alt + L formatting code
Ctrl + Alt + O format import list, remove the leader packet unused
Move Ctrl + Shift + ↑ entire line (Method)
Ctrl + Shift + ↓ entire line (Method) down
Class positioning shortcuts
Shortcut Description
F2 is positioned next to the wrong place at the
Shift + F2 wrong place to locate one on
Move to the next match at F3
Shift + F3 moved to a matching
Ctrl + B or Ctrl + left mouse button to jump at the statement
Ctrl + Alt + B Jump to achieve the
Ctrl + G jump to a specified line
Alt + Shift + Enter to position the cursor on the line
Shift + Enter Position the cursor to the next line
Alt + ↑ ↓ or a method of a method or next
Alt + ← → switch to the left or right of the window or the window
Ctrl + U jump to the parent
Select class Shortcuts
Shortcut Description
Ctrl + Alt + Shift + J entire contents of the currently selected file in the currently selected
Ctrl + Tab page switching operation
A list of files Ctrl + E recently operated
Shortcuts window switch
Shortcut Description
Ctrl + F4 to close the current Tab
New Class shortcuts
Shortcut Description
Alt + Insert can create classes, methods and the like anything
Full path Ctrl + Shift + C to copy files
Version control shortcuts
Shortcut Description
Alt + VCS operations backquote
Ctrl + T to pull a remote repository
Ctrl + K submitted to the local staging area
Ctrl + Alt + A to add version control
Ctrl + Shift + K submitted to a remote repository
Ctrl + Alt + Z undo the current changes
Ctrl + Enter commit, submitted
Alt + Shift + C to view recent modifications