IntelliJ IDEA does not load Lift libraries from SBT project

I created an empty project via sbt using the main guide, in particular:

 > cd xyz > sbt # here we create a new project w/ Scala 2.8.1 > *lift is org.lifty lifty 1.6.1 > lift create project-blank 

however, when I open a project in IntelliJ, it does not correctly recognize .jars loaded via sbt. All imported goods are red.

red imports

and when I go to the project settings ( Ctrl + Alt + Shift + S ) in the "Libraries" section, they are all grayed out.

greyed out libraries

In addition, project sources are correctly recognized as a Scala project with a web face

project structure

Did I forget to configure something? I already tried to create a project through maven using this guide , but I would really like to use SBT instead of maven.

+7
source share
1 answer

Use sbt-idea to create the IntelliJ project structure. Restart this each time you change the project structure or library dependencies in the SBT assembly definition.

Instructions: SBT 0.10.x 0.11.x , SBT 0.7. x

+9
source

All Articles