Mike Simmons wrote:Interesting. IntelliJ doesn't seem to offer a checkbox for that - unless I dismissed it long ago and it's afraid to show its face again. There is an option to edit the template for a new class, and I can use that to insert arbitrary code into new classes. But not with a checkbox option each time.
Yeah, I did a quick check of the online docs. By that reading, you just get an instance of a template file, without a support dialog. The New Class dialog allows entering the "extends" and "implements" with suggestion as well, which is arguably more useful than the checkbox for "main".
Based on that, I'd check to see if there's an auto-suggest for "main" in IntelliJ, similar to how "syso" can be expanded by Eclipse to "System.out.println()" as discussed in another message
thread at the moment.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.