Describe |
Eclipse |
Intellij |
Code completion |
Ctrl+space |
Ctrl+space |
Open Class or interface (Two Ides support the use of the "camel character" prefix to filter the lookup list, which makes it easy to complete the search; for example: To use "Podi" to retrieve the Podcastdaoimpl class) |
Ctrl+shift +t |
CTRL + N |
Quickly open files/resources |
Ctrl+shift+r |
Shift+f6 |
Open declaration |
F3 |
Ctrl+b |
View javadoc/Details |
Mouse over (F2 focus) |
Ctrl+q |
Quick fix |
Alt+1 |
Alt+enter |
Import all the required packages |
Ctrl+shift+o |
Ctrl+alt+o |
Save File/Save All Files |
Ctrl+s/ctrl+shift+s |
Auto Save |
Current file Quick Position popup (member, method) |
Ctrl+o |
Ctrl+f12 |
Source (Generate getter and setter, constructor, etc.) |
Alt+up/alt+down |
Alt+insert |
Current syntax completion Correct syntax constructs such as If,do-while,try-catch,return (method invocation) (e.g., adding parentheses) |
|
Ctrl+shift+enter |
Extracting constants |
Ctrl+1-> Solid Extraction |
Ctrl+alt+c |
Extracting variables |
Ctrl+1-> Extracting variables |
Ctrl+alt+v |
Add, delete, and move several lines of code
|
|
|
Adds a row to the current caret |
Shift+enter |
Shift+enter |
Copy a line or code snippet |
Ctrl+alt+up/down |
Ctrl+d |
Delete a line of code |
Ctrl+d |
Ctrl+d |
|
Select code to move up or down |
Alt+up/down |
Shift+alt+up/down |
Find/Search |
|
|
Find classes/Variables for use in work area projects |
Ctrl+shift+g |
Alt+f7 |
Find text in a project or workspace |
Ctrl+h (select File search) |
Ctrl+shift+f |
Navigation |
|
|
Fallback (undo last navigation action) |
Alt+left |
Ctrl+alt+left |
Navigating between labels/edits |
Ctrl + Page Down/up |
Alt + Left/alt + Right |
Jump to a row |
Ctrl+l |
Ctrl+g |
Navigate to the nearest file |
Ctrl + E |
Ctrl + E |
Quick way to switch between editors |
|
Alt + Up/down |
Debugging |
|
|
Run a row |
F6 |
F8 |
Go to the next calculation |
F5 |
F7 |
Run to the next breakpoint |
F7 |
Shift+f8 |
Reply Run
|
F8 |
F |
IntelliJ the most common accelerator tables for idea and eclipse: