# Run tool window

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/ruby/2026.3/llms.txt).

> **TL;DR**
> Show/hide: `View | Tool Windows | Run` or `Alt+4` (Windows), `⌘ 4` (macOS), `⌘ 4` (IntelliJ IDEA Classic (macOS)), `⌘ 4` (macOS System Shortcuts), `Alt+4` (XWin), `Alt+4` (GNOME), `Alt+4` (KDE), `Alt+4` (Emacs), `Alt+4` (Sublime Text), `⌘ 4` (Sublime Text (macOS)), `Alt+4` (Visual Studio), `⌘ 4` (Visual Studio (macOS)), `Meta+4` (TextMate), `Alt+4` (NetBeans), `Alt+4` (Eclipse), `⌘ 4` (Eclipse (macOS))

The Run tool window displays output generated by your application. The appearance of each tab depends on the type of the application being run and can include additional toolboxes and panes.

## Tool window tabs

Procedure: Pin tabs

If you are running multiple applications, each one is displayed in a tab named after the [run/debug configuration](run-debug-configuration.html) applied. To preserve the output of an application, even if you re-run it, pin the output tab.

* Right-click the tab and select Pin Tab.

* To pin tabs by default, press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Meta+Comma` (TextMate), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open the IDE settings, select Advanced Settings and enable the Make configurations pinned by default option.

Procedure: Split tabs

RubyMine enables you to split the active  Run  tool window vertically or horizontally.

* To move a tab to a separate group, right-click it and select Split and Move Right or Split and Move Down. These options are available when the group contains more than one tab.

* Alternatively, drag a tab to any edge of the Run tool window. RubyMine highlights the area where the new group appears. To move a tab to an existing group, drag it to the tab headers of that group.

* To move the focus between groups, click a group or go to `Window | Active Tool Window | Go to Next Splitter` (`⌥ ⇥` (Windows), `⌥ ⇥` (macOS), `⌥ ⇥` (IntelliJ IDEA Classic (macOS)), `⌥ ⇥` (macOS System Shortcuts), `⌥ ⇥` (XWin), `⌥ ⇥` (GNOME), `⌥ ⇥` (KDE), `Ctrl+X, O` (Emacs), `⌥ ⇥` (Sublime Text), `⌥ ⇥` (Sublime Text (macOS)), `⌥ ⇥` (Visual Studio), `⌥ ⇥` (Visual Studio (macOS)), `Alt+Tab` (TextMate), `⌥ ⇥` (NetBeans), `⌥ ⇥` (Eclipse), `⌥ ⇥` (Eclipse (macOS))) or Go to Previous Splitter (`⌥ ⇧ ⇥` (Windows), `⌥ ⇧ ⇥` (macOS), `⌥ ⇧ ⇥` (IntelliJ IDEA Classic (macOS)), `⌥ ⇧ ⇥` (macOS System Shortcuts), `⌥ ⇧ ⇥` (XWin), `⌥ ⇧ ⇥` (GNOME), `⌥ ⇧ ⇥` (KDE), `⌥ ⇧ ⇥` (Emacs), `⌥ ⇧ ⇥` (Sublime Text), `⌥ ⇧ ⇥` (Sublime Text (macOS)), `⌥ ⇧ ⇥` (Visual Studio), `⌥ ⇧ ⇥` (Visual Studio (macOS)), `Alt+Shift+Tab` (TextMate), `⌥ ⇧ ⇥` (NetBeans), `⌥ ⇧ ⇥` (Eclipse), `⌥ ⇧ ⇥` (Eclipse (macOS))).

* To merge split tab groups, right-click a tab and select Unsplit. If you previously split the tool window several times, repeat the action for each split. Alternatively, drag all tabs of a group to the tab headers of another group. When you close or move the last tab of a group, the group is automatically removed.

## Run toolbar

The main toolbar of the Run tool window lets you [rerun](running-applications.html#rerun), [stop](null) , [pause](null) , or terminate an application.

| Item | Tooltip and shortcut | Description |
| --- | --- | --- |
|  ![the Rerun button](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.run.rerun.svg)  | Rerun `Ctrl+F5` (Windows), `⌘ R` (macOS), `⌃ F5` (IntelliJ IDEA Classic (macOS)), `⌘ R` (macOS System Shortcuts), `Ctrl+F5` (XWin), `Ctrl+F5` (GNOME), `Ctrl+5` (KDE), `Ctrl+F5` (Emacs), `Ctrl+F5` (Sublime Text), `⌘ R` (Sublime Text (macOS)), `Ctrl+Shift+F5` (Visual Studio), `⌥ ⇧ F5` (Visual Studio (macOS)), `Ctrl+Alt+R` (TextMate), `Ctrl+F5` (NetBeans), `Ctrl+F11` (Eclipse), `Ctrl+F5` (Eclipse (macOS))  | Click this button to stop the current application and run it again.    |
| ![](https://resources.jetbrains.com/help/img/idea/2026.3/app-client.expui.actions.rerunAutomatically.svg) | Rerun automatically | Use this icon to enable the autotest-like runner: any test in the current run configuration restarts automatically after you change the related source code.      For Maven projects, if you click this icon and change the source code (in your Java or POM files), the goal you are currently running, will rerun automatically after each change.   |
|  ![the Stop button](https://resources.jetbrains.com/help/img/idea/2026.3/app-client.expui.run.stop.svg)  | Stop `Ctrl+F2` (Windows), `⌘ F2` (macOS), `⌘ F2` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ .` (macOS System Shortcuts), `Ctrl+F2` (XWin), `Ctrl+F2` (GNOME), `Ctrl+2` (KDE), `Ctrl+F2` (Emacs), `Ctrl+F2` (Sublime Text), `Ctrl+F2` (Sublime Text (macOS)), `Shift+F5` (Visual Studio), `⇧ F5` (Visual Studio (macOS)), `Ctrl+\` (TextMate), `Shift+F5` (NetBeans), `Ctrl+F2` (Eclipse), `⌘ F2` (Eclipse (macOS))  | 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 ![the Kill Process button](https://resources.jetbrains.com/help/img/idea/2026.3/app.debugger.killProcess.svg) indicating that subsequent click will lead to force termination of the application, for example on Unix `SIGKILL` is sent.       |

## Context menu options

| Item | Description |
| --- | --- |
| Compare with Clipboard | Opens the Clipboard vs Editor dialog 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](null) 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](settings-console-folding.html) 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.  |
| Clear All | Clears the output window. |

## Console toolbar

| Item | Tooltip and shortcut | Description |
| --- | --- | --- |
|  ![previous occurrence](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.up.svg) ![next occurrence](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.down.svg)  |    Up/down the Stack Trace   `Ctrl+Alt+Up` (Windows), `⌘ ⌥ ↑` (macOS), `⌘ ⌥ ↑` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ ↑` (macOS System Shortcuts), `Ctrl+Alt+Up` (XWin), `Ctrl+Alt+Up` (GNOME), `Ctrl+Alt+Up` (KDE), `Ctrl+Alt+Up` (Emacs), `Ctrl+Alt+Up` (Sublime Text), `⌘ ⌥ ↑` (Sublime Text (macOS)), `Ctrl+Alt+Up` (Visual Studio), `⌘ ⌥ ↑` (Visual Studio (macOS)), `Meta+Alt+Up` (TextMate), `Ctrl+Alt+Up` (NetBeans), `Ctrl+Alt+Up` (Eclipse), `⌘ ⌥ ↑` (Eclipse (macOS))     `Ctrl+Alt+Down` (Windows), `⌘ ⌥ ↓` (macOS), `⌘ ⌥ ↓` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ ↓` (macOS System Shortcuts), `Ctrl+Alt+Down` (XWin), `Ctrl+Alt+Down` (GNOME), `Ctrl+Alt+Down` (KDE), `Ctrl+Alt+Down` (Emacs), `Ctrl+Alt+Down` (Sublime Text), `⌘ ⌥ ↓` (Sublime Text (macOS)), `Ctrl+Alt+Down` (Visual Studio), `⌘ ⌥ ↓` (Visual Studio (macOS)), `Meta+Alt+Down` (TextMate), `Ctrl+Alt+Down` (NetBeans), `Ctrl+Alt+Down` (Eclipse), `⌘ ⌥ ↓` (Eclipse (macOS))    | Click this button to navigate up or down in the stack trace and have the caret jump to the corresponding location in the source code.  |
|  ![the Soft-Wrap button](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.softWrap.svg)  | Use Soft Wraps | Click this button to toggle the soft wrap mode of the output. |
|  ![Scroll to the end](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.scrollDown.svg)  | Scroll to the end | Click this button to navigate to the bottom of the stack trace and have the caret jump to the corresponding location in the source code.  |
|  ![the Print button](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.print.svg)  | Print | Click this button to send the console text to the default printer. |
|  ![Clear all](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.delete.svg)  | Clear All | Click this button to remove all text from the console. This function is also available from the context menu of the console.  |
|  ![Show Console Prompt](https://resources.jetbrains.com/help/img/idea/2026.3/app.debugger.console.svg)   | Show Ruby prompt |    This button is available in the Debug console. If it is pressed, you can enter commands in the console and view output.       Note that in the debug console, code completion is available:      ![Debug in console](https://resources.jetbrains.com/help/img/idea/2026.3/rm_get_started_debug_console.animated.gif)    It's also possible to scroll through the history of commands with the up and down arrow keys.                                This button is not available while debugging tests.     |
|  ![Browse history](https://resources.jetbrains.com/help/img/idea/2026.3/app.vcs.history.svg)  |    Browse history   `Ctrl+Alt+E` (Windows), `⌘ ⌥ E` (macOS), `⌘ ⌥ E` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ E` (macOS System Shortcuts), `Ctrl+Alt+E` (XWin), `Ctrl+Alt+E` (GNOME), `Ctrl+Alt+E` (KDE), `Ctrl+Alt+E` (Emacs), `Ctrl+Alt+E` (Sublime Text), `⌘ ⌥ E` (Sublime Text (macOS)), `Ctrl+Alt+E` (Visual Studio), `⌘ ⌥ E` (Visual Studio (macOS)), `Meta+Alt+E` (TextMate), `Ctrl+Alt+E` (NetBeans), `Ctrl+Alt+E` (Eclipse), `⌘ ⌥ E` (Eclipse (macOS))  |    Press this button to show the Debug Console History dialog, where one can view the console entries and navigate through them, using the arrow keys.      Click OK to close the dialog.     |

## See also

### Getting Started

[Tool windows](tool-windows.html) [Tool windows viewing modes](viewing-modes.html)

### Procedures

[Run applications](running-applications.html)

### Reference

[Arrange tool windows](manipulating-the-tool-windows.html)

