1. Automatically generate and complete variable name: Ctrl+Alt+V
2. Automatically add annotations to classes and methods
File–>Settings–>Editor–>File and Code Templates
Method 1:
Method 2:
3. Automatically generate parameter descriptions for class
methods. Type /** on the line that defines the method and then return Car, you can automatically generate method annotations
4. Generate constructor: Alt + insert
No-parameter Constructor
There is a parameterized constructor
5. Method rewriting: Ctrl + O