Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Generates .ensime config files for SBT projects
Scala
Branch: master

Merge pull request #99 from fommil/master

don't warn about discarded values
latest commit 228d55ff18
@fommil fommil authored

README.md

ENSIME SBT

This sbt plugin generates a .ensime file and provides various convenience commands for interacting with ENSIME.

Install

Add these lines to ~/.sbt/0.13/plugins/plugins.sbt as opposed to project/plugins.sbt (the decision to use ENSIME is per-user, rather than per-project):

addSbtPlugin("org.ensime" % "ensime-sbt" % "0.1.7")

Check that again, if you incorrectly used ~/.sbt/0.13/plugins.sbt you'll get an sbt resolution error, it really has to be in the plugins folder.

Commands

  • gen-ensime --- Generate a .ensime for the project.
  • gen-ensime-meta --- Generate a project/.ensime for the meta-project.
  • debugging --- Add debugging flags to all forked JVM processes.
  • debugging-off --- Remove debugging flags from all forked JVM processes.

Note that downloading and resolving the sources and javadocs can take some time on first use.

(Copied from EnsimePlugin.scala)

Customise

Customising EnsimeKeys is done via the usual sbt mechanism, e.g. insert the following into ~/.sbt/0.13/ensime.sbt

import org.ensime.Imports.EnsimeKeys

EnsimeKeys.debuggingPort := 1337
Something went wrong with that request. Please try again.