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

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
Comment actions
 

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

0
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
posted @ 2022-06-14 14:25  功夫 熊猫  阅读(23)  评论(0编辑  收藏  举报