其他分享
首页 > 其他分享> > intellij generate main method

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 FOLLOW

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 SORT BY Avatar 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

标签:Comment,intellij,Created,generation,actions,main,method
来源: https://www.cnblogs.com/kungfupanda/p/16374533.html