Note: The shortcut keys can be set according to the developer's own preferences . The setting method is as follows:
file》setting>keymap
Code finishing: Ctrl+Alt+L (format)
Remove redundant imported packages: Ctrl+Alt+O
Comment: Ctrl+/
Generate the comment of the function: Alt+N ( Fix doc comment ), since N is the first letter of note, I set it like this, which is convenient for memory
Run: Shift+F10
Rename: Shift + F6
View usage: Alt + F7
Jump to wrong location: F2
To view the declaration of a method or variable: Ctrl+left mouse button or Ctrl+Alt+B
generate Alt+Insert (refers to generating getter setter constructors, inheriting parent class methods, etc.)