简体   繁体   中英

Creating new SBT project for Scala using Eclipse

I have Eclipse (Kepler) and the Scala plugin ( http://scala-ide.org/ ) installed. With Eclipse, I can create a new Scala project, but its not an sbt project, so cannot add dependencies.

What is the best way to create a new skeleton sbt project, either within Eclipse, or one which can be imported into Eclipse?

Thanks

Create the sbt project yourself, then use the sbt-eclipse plugin to generate your eclipse project. This should make a .project and .classpath file in your sbt project directory. In Eclipse, use the "import existing projects" dialog.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM