How to open SBT Tool Window in Intellij?

后端 未结 6 1233
你的背包
你的背包 2020-12-29 19:42

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 an

6条回答
  •  [愿得一人]
    2020-12-29 20:41

    In Menu: View -> Tool Windows there should be two entries:

    1. SBT
    2. SBT Console

    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.

提交回复
热议问题