Setting up Project in IntelliJ IDEA
There is a IntelliJ plugin adding a project wizard for Ktor projects.
It will configure a project for you, it will configure the ktor features for you, and will provide some sample code for them.
Using the plugin
Like this website, the plugin allows you to create a Ktor project, but with theadditional convenience of being fully integrated in the IDE and automatically setting upthe project.
Creating a new project a Ktor
section will appear:
1) In a first step, you can configure the project to generate and select features to install:
2) In a second step, you can configure the project artifacts:
Installing the plugin
You can get the plugin from:
- Plugin Website: https://plugins.jetbrains.com/plugin/10823-ktor
- Inside IntelliJ:
IntelliJ IDEA
→Preferences…
→Plugins
→Install JetBrains Plugin…
→Ktor
→Install
- IntelliJ Welcome Screen:
Configure
→Plugins
→Install JetBrains Plugin…
→Ktor
→Install