-
Notifications
You must be signed in to change notification settings - Fork 58
SbtIntegrationInNetBeans
dcaoyuan edited this page Feb 12, 2013
·
18 revisions
#SBT Integration in NetBeans
##Only Scala-2.10+ is supported under NetBeans
That is, always try to set your project's using Scala version 2.10+ in Build.scala or build.sbt:
scalaVersion := "2.10.0"
##Supported features
- Recognize sbt project and open in NetBeans
- Open sbt console in NetBeans (Right click on sbt project, choose "Open Sbt")
- Jump to/Open compile error lines
##How to
-
With newest nbscala plugins installed on NetBeans 7.2+.
-
git clone [email protected]:dcaoyuan/sbteclipse.git
-
Build above sbt plugin with Scala-2.10.0, and publish-local
-
Add sbteclipse to your plugin definition file. You can use either the global one at ~/.sbt/plugins/plugins.sbt or the project-specific one at PROJECT_DIR/project/plugins.sbt
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.2.0-SNAPSHOT")