Categories


SBT

Products: IntelliJ IDEA

Vendor: Esko Luontola

Website: http://github.com/orfjackal/idea-sbt-plugin

License: http://github.com/orfjac...n/raw/master/LICENSE.txt

Bugtracker page

Integrates with Simple Build Tool (SBT) to enable building Scala projects easily and quickly.

Offers a console where SBT commands can be entered interactively, and a Before Run task to delegate project compilation to SBT, as an alternative to the built in IntelliJ Make.

Documentation, Screenshots

Downloads: 245781
Rating:
Participated in rating: 9
Version Compatible builds Date
1.7.0 141.177 16.04.2015 Download
1.6.1 135.475 14.05.2014 Download
1.5.1 122.327 17.10.2013 Download
1.4.0 103.255 24.09.2012 Download
1.1.0 95.66 02.12.2010 Download
6 updates are hidden show all updates

Recent change notes

Requires / Compatible with IDEA 14.1. Unfortunately this release removes the "Console History" feature, for reasons described https://github.com/orfjackal/idea-sbt-plugin/issues/104

General usage instructions

Go to the "Before launch" options of a Run Configuration, uncheck "Make" and choose "Run SBT Action / test-compile" to compile the project with SBT.

This plugin does not generate or synchronize your IDEA project structure from the SBT build configuration. The sbt-idea-plugin (http://github.com/mpeltonen/sbt-idea-plugin), a plugin for SBT, rather than for IDEA, serves this purpose. These two projects are complementary, and do not conflict with each other.

Alternatively you can rely on IDEA's Maven integration, so that both SBT and IDEA find the dependencies from Maven's POM files. But beware that SBT/Ivy does not support the relativePath element for parent POMs (https://issues.apache.org/jira/browse/IVY-1173), which can cause issues with multi-module projects.

Comments:

12>
Anonymous
2015-04-01 10:19:00
There is a new version that supports 14.1, but Jetbrains is slow to update this repository. See https://github.com/orfjackal/idea-sbt-plugin/issues/102#issuecomment-87528359
.
Anonymous
2015-03-26 00:02:32
Just got an update for 14.1 and I don't see sbt plugin available for this build. Can you please confirm what the roadmap to support 14.1 is? Thank you
.
Anonymous
Rated:
2015-03-24 16:39:43
Are there plans to update it as of IntelliJ Idea 14.1?
.
mschwerhoff
Rated:
2014-04-03 16:19:10
Is there a way to configure the SBT Console view (in IDEA CE 13.1 EAP) to correctly display Unicode characters (UTF-8) that are printed when running the program under development? Currently, instead of Unicode characters, e.g., greek letters, I see output such as "σ" or "γ". In my experience, this hints at not having the right encoding options set, rather than not using appropriate fonts. When I start sbt directly on the command-line of Windows, and run my program, then Unicode characters are displayed correctly. I added "-Dfile.encoding=UTF-8" to the VM options of Settings -> SBT, and also tried various fonts for the SBT Console view, but without success. Thanks (also for the great plugin in general), Malte
.
bhuddleston42
Rated:
2013-07-16 22:37:32
I too would be interested in being able to send a ^D so I could conveniently use the SBT plugin for Play. Using the skull to terminate the session works but is a bit cumbersome.
.
naree.song
Rated:
2013-07-11 19:44:55
Hello, I am using SBT plugin(v. 1.5.0) to run a Play application with IntelliJ. I run the app using run command inside the SBT Console. In order to stop the Play app, I need to press Ctrl+D. However, this does not work in SBT plugin. I have to press the skeleton button to forcibly kill the sbt process. If I run the Play app in SBT Console in command line, Ctrl+D works fine and stops the app and takes me back to the console. Any idea how I can get Ctr+D working with SBT plugin? Thanks, Naree
.
retronymster
2012-09-24 18:22:44
virgo47: Please try the latest plugin update (1.4.0). The SBT console won't pop up when you load the project. It is still available in non-Scala projects, as SBT isn't just a build tool for Scala.
.
virgo47
Rated:
2012-09-19 09:48:43
Would it be possible to hide SBT Console panel button in non-Scala projects?
.
brunovernay
Rated:
2012-01-04 17:38:55
.
ORFJackal
2011-04-22 00:00:51
The history can be accessed with Alt+Up
.
ORFJackal
2011-02-23 11:59:49
The history is not accessible.
.
Anonymous
Rated:
2011-02-23 05:27:34
How do you access your sbt history, what you would do by pressing up-arrow in a normal terminal in the SBT Plugin's Console?
.
philip142au
Rated:
2010-10-11 08:07:10
.
Anonymous
Rated:
2010-08-03 13:58:45
I had trouble with scala 2.8.0 and found one simple way to fix it:

- replace the scala plugin lib with the newest 2.8.0.final ones. On my machine this is in "C:\Documents and Settings\mylogin\.IntelliJIdea90\config\plugins\Scala\lib"

- then simply add a dependency on the scala 2.8.0.final lib in the "module settings", and it's just fine! (with "export" unticked, "compile" mode)

Hope it helps,

JL
.
ORFJackal
2010-07-28 00:00:14
The SBT project files are needed, because otherwise the plugin can't run. The SBT plugin doesn't need the POM file, but if you want to have the dependencies configured in IDEA, you will either need to do it manually or use IDEA's Maven plugin which needs the POM file.
.
12>