How to attach sources to SBT managed dependencies in Scala IDE?

前端 未结 5 1070
执念已碎
执念已碎 2020-12-30 23:02

I\'m using Scala IDE 2.0.1 and SBT 0.11.2 to start with Akka 2.0.1. My build.sbt looks like this:

name := \"akka\"

version := \"0.1\"

scalaVersion := \"2.9         


        
5条回答
  •  抹茶落季
    2020-12-30 23:44

    You can put

    EclipseKeys.withSource := true
    

    to your build.sbt, which lets sbteclipse download all sources and makes them accessible within Eclipse. Note, this will download all sources from all configured dependencies. I have no idea how to tell sbt to download only the sources for single dependencies.

提交回复
热议问题