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

References

  1. Intellij IDEA – Code completion
  2. Intellij IDEA – System.out.println shortcut

About the Author

author image
mkyong
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter, or befriend him on Facebook or Google Plus. If you like my tutorials, consider make a donation to these charities.

Comments

avatar
2 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
MichelSynFlood Recent comment authors
newest oldest most voted
Michel
Guest
Michel

Hey, Tnx for the tip!

SynFlood
Guest
SynFlood

This is really awesome! The best tutorial I’ve ever seen!