Wrong root after IntelliJ loaded the second sbt module

Project structure:

root

--  src

    -- ...

--  build.sbt

--  test

    --  ui-test

        --  src

             -- ...

        --  build.sbt

 

After I loaded the project from root, I added a module from ui-test manually from project structure and succeeded. But I could not open project structure window again and crashed after several tries. Also if I reopen IntelliJ with the project, the root project is gone and the content root will be ui-test instead of root.

I tried to reset and reload several times and got the same results.

Please have a look on this issue.

Thanks.

1 comment

Do these projects have subprojects/modules with the same name? In this case a fix is in the pipeline: https://youtrack.jetbrains.com/issue/SCL-13600

If the problem is something else, please create an issue on https://youtrack.jetbrains.com/issues/SCL w ith example projects that reproduce the problem so that we can investigate it.

Thanks!

0

Please sign in to leave a comment.