how to make intellij include main method by default code example Example: public static void main(string args) intellij shortcut //type "psvm", then press tab or enter