This question may sound silly for you, but I have been searching the Internet for a while and couldn't find the answer. How can I open SBT Tool Window in Intellij (scala and SBT plugins obviously installed)?
相关问题
- Unusual use of the new keyword
- Get Runtime Type picked by implicit evidence
- What's the point of nonfinal singleton objects
- PlayFramework: how to transform each element of a
- Error in Scala Compiler: java.lang.AssertionError:
相关文章
- Gatling拓展插件开发,check(bodyString.saveAs("key"))怎么实现
- RDF libraries for Scala [closed]
- In IntelliJ IDEA, how can I create a key binding t
- Why is my Dispatching on Actors scaled down in Akk
- IntelliJ IDEA can't open projects or add SDK o
- How do you run cucumber with Scala 2.11 and sbt 0.
- GRPC: make high-throughput client in Java/Scala
- IntelliJ Subversion Authentication Required Dialog
In Intellij 16 SBT Console menu item no longer exists and in Debian 7 (XFCE)
Alt-F12
doesn't work.To run SBT console:
View
->Tool Windows
->Terminal
(forAlt-F12
)sbt
and console worksIn IntelliJ 2017.1, an sbt shell is integrated with the Scala plugin. You can open it from an icon on the sbt project view toolwindow, or from the "Tools" menu
To be able to open
SBT Console
fromView
->Tool Windows
you first need to install the plugin required for it.You can find the SBT plugin by searching for it under
Settings
->Plugins
->Browse repositories
Plugin homepage: https://github.com/orfjackal/idea-sbt-plugin
In Menu:
View -> Tool Windows
there should be two entries:The first you can use to refresh IDEA project structure from SBT and view dependencies.
The second gives you a console where you can run
sbt
commands.Update:
As Justin already aded:
As of IntelliJ IDEA 2017.1 Build #IC-171.3780.52 there is a new and (imho) better way:
(If you are working with an SBT project, that is)
When you open the SBT Tool Window, you will find a new scala terminal icon:
This will open an sbt console session with your sbt project import settings.
One major benefit is that you will actually (finally) get links to your code lines for compiler warnings and errors.
You can either use above or simply use Alt+F12