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
type main then enter, can get public static void main(String[] args) as well
from intellij type , psvma to get main method with arguments in Kotlin
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;
Hey, Tnx for the tip!
This is really awesome! The best tutorial I’ve ever seen!
Thanks