RubyMine
 
Get RubyMine
You are viewing the documentation for an earlier version of RubyMine.

Run tool window

Last modified: 09 August 2022

Show/hide: View | Tool Windows | Run or Alt+4

The Run tool window displays output generated by your application. For example, it can show output generated by a running Ruby script, Rails application, or test results.

https://resources.jetbrains.com/help/img/idea/2022.2/rm_new_project_ruby_run_tool_window.png
Gif

The appearance of the Run tool window depends on the type of application being run and can include additional panes and nested tabs.

In the Run tool window, you can:

  • Rerun the Rerun button (Ctrl+F5) or stop the Stop button (Ctrl+F2) a script, application, or console.

    For tests, you can rerun a testing session, rerun only failed tests, or rerun tests automatically on changing the source code. Learn more at Run tests.

  • Switch between multiple running sessions separated into tabs in the top part of the window. You can use the Alt+Right/Alt+Left shortcuts to go to the next or previous tab, respectively.

    Run tool window sessions

    You can close any tab by clicking the Close button (Ctrl+Shift+F4). In this case, RubyMine suggests terminating a current process.

    tip

    The Services tool window allows you to switch between specific run configuration types in a single view.

  • Pin Pin the current tab to prevent it from closing automatically after running another session.

  • Restore a default layout by clicking the Restore default layout button.

  • Manage the application output using the dedicated Console toolbar. For example, you can enable soft wraps the Soft-Wrap button, clear the console Clear all, and so on.

  • Use the console's context menu to compare the selection and clipboard content, pause the application's output, share output as a Gist, and so on.

To learn more about actions common for all tool windows, see Tool windows.