Spent a day familiar with the idea of various operations, will be all kinds of shortcut keys have tried, it feels very good! So I put together some of the Eclipse shortcuts I used to compare with idea, so that I could use eclipse for many years but want to try to change the students like me. Also recommended an idea must install plug-in key promoter, for you do not use shortcut key operation it will immediately prompt the corresponding shortcut key, very powerful. Idea more amazing some of the shortcut keys I have highlighted, want to understand the magic of it, put a thought to try it yourself!
Classification |
function points |
Eclipse shortcut keys |
Idea shortcut keys |
Search |
Search text |
Ctrl + F |
Ctrl + F Ctrl + R Find replacement Alt + p/a One-by-one/all replacements Alt + F3 Find the currently selected word |
Continue Search |
Ctrl + K Forward Ctrl + Shift + K backwards |
F3 Shift + F3 |
Search method |
Ctrl + O |
Ctrl + F12 |
Search class |
Ctrl + Shift + T |
Ctrl + N |
Search for files |
Ctrl + Shift + T |
Ctrl + Shift + N Both support simple regular expressions and also support direct capitalization abbreviations, such as: To find Jsontranscoder, just enter JT |
Search All References |
Ctrl + Alt + H |
Alt + F7 |
Search for where all text appears |
Ctrl + H |
Ctrl + Shift + F |
Edit |
Automatic code completion |
Alt +/ |
Ctrl + J |
Automatic code generation |
|
Alt + Insert |
Quick Fix Errors |
Ctrl + 1 |
Alt + Enter |
Delete When moving forward |
Ctrl + D |
Ctrl + X |
Copy to Next line |
|
Ctrl + D |
Comment/Uncomment |
Ctrl +/ |
Ctrl +/ |
Select the current Word |
|
Ctrl + W |
Fill the line |
|
Ctrl + Shift + Enter Artifact, complete when moving forward, the most common scene when the current line is complete, and the cursor is positioned to the next line |
Bring up n copies of the most recently copied content |
|
Ctrl + Shift + V |
View recently edited files |
|
Ctrl + E |
Compare Recent Changes |
|
Alt + Shift + C |
Formatting code |
Ctrl + Shift + F |
Ctrl + Alt + L |
Organize import |
Ctrl + Shift + O |
Ctrl + Alt + O |
Jump |
Show method Hierarchy |
|
Ctrl + Shift + H |
Display class, Method description |
F2 |
Ctrl + Q |
Jump to method definition |
|
Ctrl + B |
Jump to method implementation |
|
Ctrl + Alt + B |
Skip to Top/Next method |
|
Alt + Up/down |
Up/Next Viewing place |
Alt + <- Alt + |
Ctrl + Alt + up/down |
Jumps to the specified line |
Ctrl + L |
Ctrl + G |
Refactoring |
Renamed |
Alt + Shift + R |
Shift + F6 |
Other common |
|
Ctrl + F6 Modifying method signatures Ctrl + Shift + F6 Modifying the type of the parameter Ctrl + Shift + V introduces local variables Ctrl + Shift + P introduces parameters Ctrl + Shift + F introduces class variables Ctrl + Shift + M Introduction method Ctrl + Shift + C introduces constants |
Run |
Start debugging |
|
Alt + Shift + F9 |
Start run |
|
Alt + Shift + F10 |
Single Step Into |
F5 |
F7 |
Single-Step Skip |
F6 |
F8 |
Skip Over |
F8 |
F9 |
Execute the selected statement |
|
Alt + F8 |
Window |
Bring up the interface |
|
Ctrl + Alt + S to bring up the settings interface Ctrl + Alt + Shift + S to bring up the project setting interface |
Close the interface |
|
Ctrl + F4 or ESC |
Open window |
|
Alt + window Number (for example, item window number is 1) |
Maximize window |
Ctrl + M |
Ctrl + Shift + F12 |
Hide Window |
|
Shift + ESC |
Close the current file |
|
Ctrl + F4 |
Vertical split Screen |
|
Ctrl + | (custom) |
Adjust window Position |
|
Ctrl + M Displays the current cursor at the center of the screen |
Toggle Window |
|
Ctrl + Tab |
Eclipse and Idea shortcut key comparison