den123
den123

Reputation: 801

IntelliJ: what difference between "SBT Console" and "SBT Shell"?

In the IntelliJ I see two tool windows: SBT Console and SBT Shell. What is the difference between these tools?

Upvotes: 9

Views: 4413

Answers (2)

jiayp89
jiayp89

Reputation: 533

You may have installed both scala and sbt plugins. The newer version of scala plugin has sbt as part of it.

sbt console is the sbt plugin -- click start you will enter into sbt interactive mode.

sbt shell is part of the scala plugin, which is similar to the above mentioned sbt console and can autocomplete commands.

Here is a description: https://blog.jetbrains.com/scala/2017/03/23/scala-plugin-for-intellij-idea-2017-1-cleaner-ui-sbt-shell-repl-worksheet-akka-support-and-more/

Upvotes: 6

Mario Galic
Mario Galic

Reputation: 48420

SBT Console plugin is deprecated in favour of IntelliJ Scala Plugin. Deprecation notice states:

JetBrains have recently added support for an SBT console to the IntellIJ Scala Plugin. This is now the recommended way to use SBT within IntellIJ. No new releases of this plugin are planned.

Upvotes: 4

Related Questions