0

I have a project tree like this:

Root Folder:

-- Folder A

-- Folder B

-- Folder C (src)

-- Some other files

Inside folder C, there is the build.sbt and some other folders. To make intellij recognize that the project is a scala one, I have to open it by selecting the build.sbt file and select to open it as a project. The problem is that if I do this, in intellij I see only what is under folder C and I'm not able to see what is above that level. Is there a way to solve this?

I already tried to open it by selecting the entire root folder but in that way intellij doesn't recognize that it is a scala project. I also found some other solutions that explained to create a new project from existing source, but in that way i can't choose the sbt option like someone else suggested.

Dmytro Mitin
  • 48,194
  • 3
  • 28
  • 66
salef
  • 1
  • 1
  • 1
    Will it help if you open root project and then use "File | New Module - From existing source" to add your Scala project? – y.bedrov Feb 27 '23 at 14:04

0 Answers0