A friend is just starting to learn Java, using IntelliJ. He asks how can he set up some template so creating a new project will contain a default main class.
Currently, when he creates a new project, it has no source files, and he has to add a Run/Debug application configuration manually, and then select the main class.