intellij generate main method


https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000095864-I-need-main-method-generation

I need main() method generation 

answered Avatar Borucki Andrzej Created February 16, 2017 02:32  

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.

5 6 comments Serge Baranov Created February 16, 2017 02:33 Comment actions  

Type psvm and press Tab, see https://www.jetbrains.com/help/idea/2016.3/live-templates.html.

20 Avatar Mail Reknew Created October 09, 2019 07:05 Comment actions  

This does not work. IntelliJ 2019.3. I get something like Upsert instead

0 Avatar Serge Baranov Created October 09, 2019 10:10 Comment actions  

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.

0