Is there a way to let IntelliJ auto-generate files when a new project is created?

Answered

Hello there.

I'm currently a student in computer Science and everytime we're working in Java, we need to create a StartUp file like this one for every Java project:



Now, I've been wondering if it would be possible to let IntelliJ auto-generate those files whenever I make a new Java project. I've already looked into templates, but I can't seem to find a way to let those files be generated when I create a new project. I can only add extra code that should be generated whenever I make a file in an already existing project.

0
1 comment

You can save the project as template and then create a new project from this template: https://www.jetbrains.com/help/idea/save-project-as-template-dialog.html .

0

Please sign in to leave a comment.