How to creat the main class of java without write it manually

已回答

Hello Guys so i'm new to java world and intellij idea So my Q is how can i write the main function of the main class directly like eclipse in intellij without write it letter by letter singly and thanks

评论操作 固定链接

You can use live templates for that. See gif at https://www.jetbrains.com/help/idea/using-live-templates.html#live_templates_types

You can also create class templates, so once a new class is created (new java file), it will be filled with content: https://www.jetbrains.com/help/idea/using-file-and-code-templates.html

 

 

0

请先登录再写评论。