Intellij, psvm and the shortcut for creating a main() method Sep 7, 2015 • milesd Intellij has a nice shortcut for creating a "main()" method. In a Java class (pojo): **Type psvm, **then press tab. public static void main(String[] args) { } A main method will be created.