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

1 comment

You can use live templates for that. See gif at

You can also create class templates, so once a new class is created (new java file), it will be filled with content:




Please sign in to leave a comment.