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

Answered

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

1 comment
Comment actions Permalink

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

Please sign in to leave a comment.