This page describes approaches to using sbt with third-party tools. It is a work in progress.
There is a script to run sbt as an inferior-mode process from within emacs. It uses compile.el, allowing one to migrate through the compiler errors.
On Windows, disable the native JLine interface using by adding the system property
to your sbt startup script or disable JLine support completely with the system property:
You may want to make your sbt startup script look something like the following:
if "%TERM%"=="emacs" set jlineopt=-Djline.WindowsTerminal.directConsole=false java -Xmx512M %jlineopt% -jar ...
(From the comments in #63)
Alternatively: In Vim, you can add the following to your .vimrc file to support building via :make and navigating to errors and warnings:
set makeprg=sbt\ compile set efm=%E\ %#[error]\ %f:%l:\ %m,%C\ %#[error]\ %p^,%-C%.%#,%Z, \%W\ %#[warn]\ %f:%l:\ %m,%C\ %#[warn]\ %p^,%-C%.%#,%Z, \%-G%.%#
You'll need to cd into your project root to issue the :make command.
sbt plugin/processor: https://github.com/mpeltonen/sbt-idea
IDEA plugin: http://plugins.intellij.net/plugin/?idea&id=5007
There are currently three options for Eclipse integration.
Jenkins plugin: http://wiki.jenkins-ci.org/display/JENKINS/sbt+plugin.
JEdit plugin: https://github.com/StefanE/SBT4jEdit
A text editor for Scala programmers with support for sbt: http://code.google.com/p/scala-edit/