精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

intellij generate main method

2022-06-14 14:31:27  阅读:459  来源: 互联网

标签:Comment intellij Created generation actions main method



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.


来源: https://www.cnblogs.com/kungfupanda/p/16374533.html


Copyright (C)ICode9.com, All Rights Reserved.