Build tool window
The Build tool window helps you view the output of your builds that were delegated to Maven or Gradle, and the results of the projects' synchronization.
Build Output tab
IntelliJ IDEA displays the result of your build in the Build Output tab. Depending on a project, the build output shows tasks, goals, and commands that were executed.
By default, the tab also displays all successful steps and warnings.
Build a project
From the main menu, select Build | Build Project Ctrl+F9.
Check the results in the Build tool window.
Sync tab
When you open a Gradle or Maven project, the sync is done automatically. Сlick the Build icon on the status bar to view the results of the sync in the Build tool window.
If you need, you can manually trigger the synchronization of your project.
Reimport a project
Right-click a project you want to sync and from the context menu, depending on the project, select Reimport Gradle Project or Reimport Maven Project.
Check the results in the Build tool window.
Error handling
When an error occurs during the build process, IntelliJ IDEA displays an error message with the line and column number that could be easily located. If IntelliJ IDEA can locate the error place, it displays a link that you can click and navigate to the needed line in the editor.
When the Build tool window displays multi errors or warnings, it enables you to navigate between the next or the previous problem from the context menu or using the Ctrl+Alt+Down and Ctrl+Alt+Up shortcuts.
If the error occurs during the synchronization process, IntelliJ IDEA displays an error message. IntelliJ IDEA also displays the issue description in the text console and offers a solution if possible.
Context menu
Item | Description |
---|---|
Rerun | Rebuild the project. |
Jump to Source F4 | Open the corresponding location in the editor. |
Show Warnings | IntelliJ IDEA displays warnings. |
Show Successful Steps | IntelliJ IDEA shows steps that were executed successfully. |
Previous Problem Ctrl+Alt+Up | Navigate to the previous error. |
Next Problem Ctrl+Alt+Down | Navigate to the next error. |
Side Toolbar buttons
Icon | Tooltip | Description |
---|---|---|
Rerun | Rerun the project. | |
Resume build from the specified module | Resume build from the specific module. | |
Stop | Stop the building process. | |
Pin tab | Pin the tab with which you are working. | |
Filters | Filter the output displaying or hiding warnings and successful steps. | |
Soft wraps | Creates soft wraps in the message text. | |
Scroll to the end | Scrolls to the end of displayed messages. |
Upper Toolbar buttons
Icon | Tooltip | Description |
---|---|---|
Show Options Menu | Click this icon to open a menu with more options for managing the tool window such as displaying or hiding side toolbars, group tabs, selecting viewing mode, resizing, and so on. | |
Hide | Hides the tool window. Click the Build icon on the status bar, to open it up again. |