IntelliJ IDEA 2024.2 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.

auto import

sbt

Item

Description

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, refer to 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

Item

Description

Refresh

Click this button to refresh all registered sbt projects after changes have been made to an sbt script.

Click this button to link an sbt project.

Click this button to detach an external sbt project.

Use these buttons to expand or collapse all the nodes.

Select Project Data to Import

Click this button to import a module or data to your sbt project. It might be useful for the multi-module projects.

the Build Tools settings

Use 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

Item

Description

Open sbt config

Select this option to open sbt.build file in the editor.

Refresh external project

Select this option to refresh all external projects.

Ignore sbt project

If 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 Activation

Select this option to activate tasks to run.

Last modified: 11 February 2024