IntelliJ IDEA 2021.1 Help

sbt tool window

The sbt tool window is enabled automatically when you create or open your sbt project. Click sbt on the right sidebar to open the tool window. The tool window displays the sbt linked projects, their tasks, dependencies, and all changes made to the underlying build.sbt file.

sbt

ItemDescription
Show option menu

Click this button to open the menu for configuring the current view and changing the tool window viewing modes. The menu items are options that you can turn on or off. An active item contains a check mark on the left side of its name.

The available options in the menu are as follows:

  • Group Modules: select this option if you want to group modules in the project.

  • Group Tasks: select this option if you want to group your tasks. For example, build tasks will be included into the build directory.

  • Show Ignored: select this option to display the ignored projects.

  • Show Toolbar: select this option to show the toolbar for your sbt projects.

  • Project tool window Pinned Mode, Docked Mode, Floating Mode, Split Mode - these options let you control general appearance and behavior of the tool window, see Tool Windows Viewing Modes

  • Group Tabs: deselect this option to see the views on separate tabs if more than one view is available in a tool window.

  • Move to: select this option to move the sbt tool window to either top, left or right.

  • Resize: select this option to resize the sbt tool window.

Hide tool window

Hide the tool window Shift+Escape.

To hide all the tool windows, press Ctrl+Shift+F12.

Toolbar

ItemDescription
RefreshClick this button to refresh all registered sbt projects after changes have been made to an sbt script.
Icons general addClick this button to link an sbt project.
Icons general removeClick this button to detach an external sbt project.
Icons actions expandall Icons actions collapseallUse these buttons to expand or collapse all the nodes.
Select Project Data to ImportClick this button to import a module or a data to your sbt project. It might be useful for the multi-module projects.
the Build Tools settingsUse this icon to access the following settings:
  • Auto-Reload Setting: select this option to configure the reloading process of your sbt project in the Build Tools settings dialog.

  • sbt Settings: select this option to configure the settings of the current sbt project in the sbt settings dialog.

Context Menu

ItemDescription
Open sbt configSelect this option to open sbt.build file in the editor.
Refresh external projectSelect this option to refresh all external projects.
Ignore sbt projectIf you select this option, IntelliJ IDEA starts to ignore the selected module on the next project's import. In this case, IntelliJ IDEA keeps the ignored sbt projects and subprojects in the sbt tool window, but stops their import (modules, content roots, tasks, and so on) to the project. However, IntelliJ IDEA synchronizes the ignored projects with the current one.
Task ActivationSelect this option to activate tasks to run.
Last modified: 15 June 2021