Build from sources
If you are eager to get the latest snapshot of the plugin, you may use SBT plugin project on GitHub to clone the plugin repository by entering the following command:

1

git&nbsp;clone&nbsp;https://github.com/JetBrains/intellij-sbt.git

Then run sbt dist to build a binary distribution of the plugin (you may need to specify locations of IDEA and Scala plugin first).

Usage

To import an SBT project in IDEA use either File | Open or File | Import Project menu command and then choose a desired build.sbt file (alternatively, you may choose a project root directory).

IDEA will analyze the SBT project structure and create a corresponding project model that includes all required modules, source/output directories, libraries, dependencies, etc.

If you select Use auto-import check-box in the import dialog, IDEA will monitor the SBT project definition for changes and update the corresponding project model automatically (preserving your local modifications to the project).

In addition to ordinary modules (which correspond to SBT “projects”), IDEA creates special “SBT” modules, which describe SBT build definitions themselves (.sbt files and Scala files in project directories) in order to provide highlighting, auto-completion and navigation for these files and SBT libraries.

Roadmap

Here are the features that we’re going implement in the near future:

SBT console.

Command tool window.

Project make via SBT.

Feedback

Keep in mind that SBT plugin project is currently in alpha stage, don’t be too hard on it

34 Responses to SBT Plugin for IntelliJ IDEA Nightly Builds

Great project, thanks! One thing that I’m missing from the sbt-idea plugin (gen-idea) is automatic setup of run configurations. That would make for a great feature. I.e., use sbt to detect the main class (perhaps even all possible main classes), and generate corresponding run config, so you can build + go straight away.

This is great news. When can we expect SBT-console integration?
This is especially important in multi-module projects where the Idea console can’t resolve classes in different target folders. Running console from the SBT console is nice, but lack auto-complete and syntax highlighting.

Great work! Been waiting for this for a while. Would be nice to have a view similar to the maven tool window, with phases, dependencies and ability to download sources, but they’re just a wish list. Keep up the good work.

This is a great feature. Having SBT Import Project support is the missing link for applying SBT to all internal projects. The CLI works, but most staff prefer a pure IntelliJ workflow so this is a huge benefit. Thank you

Have you considered merging this project in with http://plugins.jetbrains.com/plugin/5007 the plugin by Esko Luontola. Your import is awesome, and the other plugin has the sbt console already. I think a merger would make a really useful sbt plug-in

This is a great plugin and is the reason that we starting to look into IDEA after all the years of using Eclipse. However we are really looking forward to upgrading to sbt 0.13. What is the schedule for this plugin to support sbt 0.13 on IDEA 12?

Excellent pieces. Keep writing such kind of info on your blog.
Im really impressed by yolur site.
Hey there, You have done an incredible job. I’ll definitely digg it and
personally suggest to my friends. I’m confident they will be benefited from this website.

What i do not understood is in fact how you are
no longer actually much more smartly-appreciated than you may be now.
You are so intelligent. You realize thus significantly
on the subject of this matter, made me in my opinion imagine it from so many numerous angles.

Its like men and women aren’t interested except it is one thing best way to lose weight (healthloseweight.wordpress.com) do with Lady
gaga! Your personal stuffs outstanding. Always maintain it up!