|
Function |
Idea 2017.1 shortcut keys |
|
Visual Studio 2015 shortcut keys |
| Document |
Formatting the entire document |
Ctrl+alt+l |
|
Ctrl+e,d or Ctrl+k,d |
| File |
Show Recent Files |
Ctrl+e |
|
|
| File |
Show the most recently changed files |
Ctrl+shift+e |
|
|
| Document |
Show Document Structure |
Ctrl+f12 |
|
|
| File |
Open Folder |
Ctrl+click Document title |
|
|
| File |
Close File |
Shift+click Document title |
|
|
| Document |
Curly braces Jump |
ctrl+[or CTRL +] |
|
|
|
Querying references and looping through all references |
Select the element ctrl+f7 query first, and then F3 the next one |
|
|
|
Global retrieval of classes, methods, filenames, etc. |
Shift,shift |
Easy to remember, but too many things to find out. |
|
|
Global Search Class |
CTRL + N |
|
|
|
Global Search Files |
Ctrl+shift+n |
|
|
|
Global search methods, fields, classes |
Ctrl+shift+alt+n |
|
CTRL +; |
|
Generate Getter,setter, constructors, etc. |
Alt+insert |
Seems. NET is generally not used, grammar sugar is too strong ~ |
Ctrl+r,e |
|
View documents for methods, classes |
Ctrl+q |
|
|
|
To view the parameters of a method |
Ctrl+p |
|
ctrl+shift+ spaces |
|
Viewing class and method basic information |
Ctrl+hover |
|
|
|
Select Clipboard contents Paste |
Ctrl+shift+v or Ctrl+shift+insert |
|
|
|
Automatic derivation of declarations by method |
Ctrl+alt+v Alt+enter then choose Introduce ... can also |
Because Java does not have the VAR keyword, so it's good to use |
|
|
Wrap the code in the IF, try, while ... Inside |
Ctrl+alt+t |
|
|
|
Automatic correction |
ALT + ENTER |
Wide range of applications thieves. |
|
|
Optimize (remove, sort) import |
Ctrl+alt+o |
|
|
| Refactoring |
Refactoring Tool Pack |
Ctrl+shift+alt+t |
|
|
|
Renamed |
Shift+f6 |
|
F2 |
| Template |
Template Daquan |
Ctrl+j |
|
Ctrl+k,s Ctrl+k,x |
|
Select Code by syntax |
Ctrl+w Ctrl+shift+w |
|
|
|
Select words before and after |
Ctrl+left Ctrl+right |
|
|
|
Quickly select the wrong code |
F2 and Shift+f2 |
|
|
| Debugging |
Next |
F8 |
|
F10 |
| Debugging |
Next Breakpoint |
F9 |
|
F5 |
| Debugging |
Enter method interior |
F7 |
|
F11 |
|
Comment Code |
ctrl+/ |
|
Ctrl+k,c Ctrl+k,u |
|
|
|
|
|