How do I get IntelliJ to recognize SBT name -


i have following sbt code

lazy val root = (project in file(".")).   settings(     name := "hello"   ) 

but when import via ij (new>module existing source)

i see this...

enter image description here

of course problem if import module same way, foo...

lazy val root = (project in file(".")).   settings(     name := "foo"   ) 

it overwrites other project in ij files , can have 1 sbt module @ time. if change say...

lazy val hello = project in file(".") 

everything works great, infrastructure folks have pushed saying incorrect.

one solution:

lazy val root = project("foo",file(".")) 

Comments