Many friends are used to eclipse, and many shortcut keys are not applicable in idea. Let's talk about how to add shortcut keys.
Open the idea. file---"setting----" search for live
Add a group named java
Click on the group to add members
Enter the code you want to generate first below
Just select the trial file, and press the tab key in the input main to add