IntelliJ IDEA 2018.3 Help

Run Tool Window

View | Tool Windows | Run
Alt+4

The Run tool window displays output generated by your application. If you are running multiple applications, each one is displayed in a tab named after the run/debug configuration applied.

The appearance of each tab depends on the type of the application being run and can include additional toolboxes and panes.

The main toolbar of the Run tool window lets you rerun, stop, pause, or terminate an application. The following table contains descriptions of the buttons that are common for most applications.

Run Toolbar

Item

Tooltip and shortcut

Description

rerunConsole

Rerun
Ctrl+F5

Click this button to stop the current application and run it again.
When an application is stopped (icons actions suspend svg), this button toggles to icons toolwindows toolWindowRun svg.

icons toolwindows toolWindowRun svg

Rerun
Ctrl+F5

Click this button to rerun the current application.
This button appears, when an application is stopped (icons actions suspend svg). When an application is running, this button toggles torerunConsole.

icons actions pause svg

Pause Output

Click this button to have the process output paused.

Note that the button is not available for Run/Debug Configuration: Node.js, Run/Debug Configuration: Attach to Node.js/Chrome, and Run/Debug Configuration: NodeUnit.

threaddump

Dump Threads
Ctrl+Break

Click this button to dump all threads of the current process showing their status in the Sun format.

Note that the button is not available for Run/Debug Configuration: Node.js, Run/Debug Configuration: Attach to Node.js/Chrome, and Run/Debug Configuration: NodeUnit.

icons actions exit svg

Exit

Click this button to terminate the current process gracefully using in-process internal mechanisms.

Note that the button is not available for Run/Debug Configuration: Node.js, Run/Debug Configuration: Attach to Node.js/Chrome, and Run/Debug Configuration: NodeUnit.

icons actions suspend svg

Stop
Ctrl+F2

Click this button to terminate the current process externally by means of the standard shutdown script.

Clicking the button once invokes soft kill allowing the application to catch the SIGINT event and perform graceful termination (on Windows, the Ctrl+C event is emulated). After the button is clicked once, it is replaced with icon run tool window kill indicating that subsequent click will lead to force termination of the application, e.g. on Unix SIGKILL is sent.

icons debugger restoreLayout svg

Restore Layout

Click this button to to have the changes to the current layout abandoned and return to the default state.

icons general pin tab svg

Pin Tab

Click this button to pin or unpin the current tab. You may need to pin a tab to prevent it from closing automatically when the maximum number of tabs is reached in this window.

icons actions close

Close
Ctrl+Shift+F4

Click this button to close the selected tab of the Run tool window and terminate the current process.

help

Help
F1

Use this icon or shortcut to open the corresponding help page.

Context Menu Commands

Item

Description

Compare with Clipboard

Opens the Clipboard vs Editor dialog box that allows you to view the differences between the selection from the editor and the current clipboard content. This dialog is a regular comparing tool that enables you to copy the line at caret to the clipboard, find text, navigate between differences and manage white spaces.

Fold Lines Like This

Opens the Console dialog that allows you defining the lines to be folded to hide extraneous information.

Copy URL

Choose this command to copy the current URL to the system clipboard. This command only shows on a URL, if it is included in an application's output.

Create Gist

Choose this command to open the Create Gist dialog box.

Clear All

Clears the output window.

Console Toolbar

Item

Tooltip and shortcut

Description

icons actions previousOccurence svg icons actions nextOccurence svg

Up/down the Stack Trace
Ctrl+Alt+Up Ctrl+Alt+Down

Click this button to navigate up or down in the stack trace and have the cursor jump to the corresponding location in the source code.

icons actions toggleSoftWrap svg

Use Soft Wraps

Click this button to toggle the soft wrap mode of the output.

icons runConfigurations scroll down svg

Scroll to the end

Click this button to navigate to the bottom of the stack trace and have the cursor jump to the corresponding location in the source code.

icon print

Print

Click this button to send the console text to the default printer.

icons actions gc svg

Clear All

Click this button to remove all text from the console. This function is also available on the context menu of the console.

gradle exec view support

Toggle tasks executions/text mode

Click this button to view Gradle task execution in a tree mode.

Karma Server tab

The tab is shown only when you run JavaScript unit tests using the Karma test runner. Use the tab to view and analyze information from the server.

For details, see Karma.

Last modified: 7 December 2018

See Also