0
votes

I'm working with a Scala application using Intellij Idea 13.1.1 community edition. Although i am able to compile and run my application, but the IDE shows error in editor window as it cannot resolve the class. How can i remove that and enable code completion feature for Scala and Liftweb?

1
How did you import the project into IntelliJ? Which class(es) are unable to resolve? - joescii
File > Import Project > Then Selected the project > Create Project from existing source. Did you mean this? All classes of scala and liftweb are unable to resolve. Previously I had used NetBeans. In Netbeans when we import api libraries(jars) we need not worry about code completion. How is it done in IntellIJ? - Abinash Bastola
Do you have the Scala plugin installed? With it, IntelliJ should recognize sbt files in the import file browser. - joescii
yes i do. Do we need to import libraries or jars? - Abinash Bastola
No, not individually. Use File -> Close Project then reimport by selecting the build.sbt file in the file chooser popup. - joescii

1 Answers

1
votes

Now I found the solution thanks to joescii. While importing a project import using build.sbt