The process of setting up a Kotlin project with IntelliJ is straightforward:
- Start the IntelliJ IDE application.
- Click Create New Project.
- Select Java from the available project options on the left-hand side of the newly opened window.
- Add Kotlin/JVM as an additional library to the project.
- Pick a project SDK from the drop-down list in the window.
- Click Next.
- Select a template if you wish to use one, then continue to the next screen.
- Provide a project name in the input field provided. Name the project HelloWorld for now.
- Set a project location in the input field.
- Click Finish.
Your project will be created and you will be presented with the IDE window:
To the left of the window, you will immediately ...