Intellij IDEA – default static void main shortcut
In IDEA, you can type psvm
and press Tab to generate the public static void main(String[] args)
automatically.

To show all shortcuts, press CTRL + J

In IDEA, you can type psvm
and press Tab to generate the public static void main(String[] args)
automatically.
To show all shortcuts, press CTRL + J
Hey, Tnx for the tip!
This is really awesome! The best tutorial I’ve ever seen!
hi! Is there a way to create my own shortcut for my own template? For example:
psvx + tab == >
public static void someMethod(){
}
or
da + tab ==>
double doubleVal = 12345d;