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

External tools

Last modified: 09 August 2022

You can define third-party applications as external tools and run them from RubyMine.

RubyMine allows you to pass contextual information from your project to the external tool as command-line arguments (for example, the currently selected file or the project source path), view the output produced by the tool, configure to launch the tool before a run/debug configuration, and more.

There are several types of external tools that you can add to RubyMine:

  • Local tools are applications that run locally on your computer.

  • Remote tools are applications executed on a remote server over SSH.

You can define third-party standalone applications (code generators and analyzers, pre- and post- processors, database utilities, etc.) as external tools and then run them from RubyMine.

You can pass contextual information (like the currently selected file, or your project source path) to the external tools, view the tool output, and more.

The tools are defined on the External Tools page in the Settings dialog and appear as commands in the Tools menu and in various context menus. They can also be assigned keyboard shortcuts (see the Configuring Keyboards and Mouse Shortcuts section).