IntelliJ idea does not properly see modules of generated Ktor project. Android Studio does see them

217 Views Asked by At
.0. I imported a project to the PC (specifically here = generated Ktor project, although I've seen such behavior before with Compose Desktop projects)

Generated here

.1. IntelliJ Idea doesn't recognize it as a project

enter image description here

When I open the same project on Android Studio = it works fine
enter image description here

Here is how the project supposed to look in IntelliJ (this Ktor project I build manually with IDE and it worked):

enter image description here

.2. I was able to make the project folders visible to IDE:

Repair IDE->Rescan Project Indexes->Reopen Project

enter image description here

Now It look like this:

enter image description here

But IDE still doesn't see my modules properly

enter image description here

enter image description here

How do I properly configure the imported project?

Note: I've read IntelliJ does not show project folders And tried methods described there. But a lot of answers are hard to replicate as IntelliJ interface changed.

Edit: I've fixed it with Manage Idea Settings->Restore Default Settings. Now projects are opened properly. Thank everyone for your time.

1

There are 1 best solutions below

0
Nikita A On

I've fixed the problem with Manage Idea Settings->Restore Default Settings. Now projects are opened properly. Thank everyone for your time.

enter image description here