1. You can view comments by hovering the mouse over the method name (the name of this function is quick documentation, and the shortcut key is F2 or Ctrl+Shift+Space)
Set to automatically display , the method is as follows:
There is nice feature which shows quick documentation when your mouse is over element.
IntelliJ 14
Editor / General -> Show quick documentation on mouse move
Older versions
Add the following line to idea.properties file:
auto.show.quick.doc=true
< p>2. The carriage return in Eclipse can automatically jump to the end of the line. How does IDea do this?Ctrl+Shift+Enter (jumps to the end of the line and automatically adds a semicolon if there is no semicolon at the end of the line) or Ctrl+Right
3.Ctrl+1 in IDEA is Use Alt+Enter
4. View method parameters (or method signature) Ctrl+P, this function is called parameter info
5. Double Shift is better than Ctrl+Shift+R Easy to use and more convenient.
6. Ctrl+Tab is also good for switching back and forth between editors (sometimes you need to switch between two files opened in the IDE. Do you habitually press Alt+Tab? I have This problem)
7. Alt + Q quickly displays which method the current line is in (this is useful if the method body is too long and cannot be displayed on one screen).
8. Copy the current line Go to the pasteboard, Ctrl+C (do not select anything)
9. Ctrl+Shift+V Advanced paste. .
10. Automatically import Class. Isn’t it annoying that you need to constantly press Alt+Enter to import missing classes in IDEA?
Search for Auto Import in the settings and check all the boxes. (Even Ctrl+Shift+O is omitted, isn’t it cool?)
11. IDEA supports zen coding by default , you no longer need to type angle brackets when writing HTML. The shortcut key for completion is tab, not Alt+/
12. Other useful shortcut keys in IDEA (2016 supplement)
a. Set Find Action to Cmd+Shift+A
b. Jump to the matching curly braces Ctrl + M
c. Create a new file/folder/Setter/Getter/JUnit Test Case (Cmd + N) This is a one-click multi-purpose. Pressing cmd + N on different occasions will bring up different menus.
d. Project is set to Cmd + 1 (toggle the Project view on the left)
d. p>
100. The most important thing is the code prompt. It is called content assistant in Eclipse and completion in IDEA. If it conflicts with the input method, you have to do it yourself. What you set it to is purely personal preference.
Additions are welcome.
IDEA plug-in area (201607)