Where can I find the "Create project from template" and the "Base package" settings when creating a new project?

Answered

I'm following a tutorial on learning Java and I can't find the "Create project from template" button that allows you to select "Command Line App" when creating a new project. I also can't find the "Base package" setting. These are the only options I have.

3
3 comments

In the newer versions of IntelliJ IDEA, "Create project from template" option is embodied with the "Add sample code" checkbox, which adds a few lines of code to the project to make it print out "Hello world" in the console, essentially turning it into a command-line app.

Base package can only be customized if you select Maven or Gradle as your build system (-> GroupId):

You can also create projects from custom templates.

1

In the new version I can't "Create project from template" and the "Base package", can you help me please? Where can I find?

0

Igor SIRBU

> In the new version I can't "Create project from template"

It was replaced with the Add sample code checkbox, see the screenshot one comment above.

> and the "Base package"

There is no way to specify the base package for IntelliJ IDEA project type any more when creating a new project. You can use Refactor | Rename to change the default package name once the project is created.

When using Maven or Gradle option, there is GroupId option under Advanced Settings which will define the base package name.

1

Please sign in to leave a comment.