https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000095864-I-need-main-method-generation
I need main() method generation FOLLOW
answered
I created new project, new class (Main.java) and must write "
public static void main(String[] args){}
"
It will be good if will possible generation main method by IDE.
Votes
5
Type psvm and press Tab, see https://www.jetbrains.com/help/idea/2016.3/live-templates.html.
This does not work. IntelliJ 2019.3. I get something like Upsert instead
Please share the screenshot of the issue. What file type do you use? Note that for Java you can now also type main instead of psvm.