IntelliJ IDEA – public static void main shortcut
In IntelliJ IDEA, type main
and press the Enter or Tab button from your keyboard to generate public static void main( String[] args )
automatically.
P.S. Tested with IntelliJ IDEA 2019.3.3 (Community Edition) on Windows machine.

Alternatively, we can also use the psvm
to populate public static void main( String[] args )
automatically.

Tip: If autosuggestion not populated automatically by typing the shortcut key, you may search the possible suggestion by pressing Ctrl + Space button together.