IntelliJ IDEA 2017.2 Help

Command Line Tools Console Tool Window

Tools | Run Command


The tool window is available only when the Command Line Tool Support plugin is installed and enabled as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins.

The tool window is marked with the icon /help/img/idea/2017.2/icon_command_line_console.png. Use the tabs of this tool window to type and run commands in the command line and to validate .xml descriptors for structure consistence. See PHP Command Line Tools for details.

The tool window consists of the following tabs and areas:

  • The Input pane for typing commands in the format <tool alias> <command>. The location of the Input pane (text box or pop-up window) depends on the Show console in setting on the Command Line Tool Support page.
  • The Output tab shows the results of executing commands. The tab is named after the last invoked command.
  • The Tool definition file errors tab is hidden by default. The tab is accessible only if any structure discrepancies are detected in the .xml descriptor during validation. See How do I keep a tool descriptor consistent? for details.

Toolbar Options

ItemTooltip and ShortcutDescription
stop.gif Stop Ctrl+F2 Click this button to cancel execution of a command without closing the tool window.
/help/img/idea/2017.2/arrowUp.pngTo previous command
Click this button to navigate to the previous command.
/help/img/idea/2017.2/arrowDown.pngTo next command
Click this button to navigate to the next command.
/help/img/idea/2017.2/icon_softWrap.pngUse Soft WrapsClick this toggle button to have the soft wrap mode applied to the output.
/help/img/idea/2017.2/icon_scrollToEnd.pngScroll to the endClick this button to navigate to the bottom of the output tab named after the last invoked command.
/help/img/idea/2017.2/icon_print.pngPrintClick this button to have the contents of the console printed out. Upon clicking the button, IntelliJ IDEA opens the Print dialog box, where you can configure the printing procedure and output.
/help/img/idea/2017.2/icon_clear_all.png Clear AllClick this button to remove all text from the console. This function is also available on the context menu of the console.
/help/img/idea/2017.2/exportToTextFile.pngExport to Text Alt+OClick this button to have the results of executing commands saved in a text file. In the Export Preview dialog box, that opens, specify the target file, and click Save.
/help/img/idea/2017.2/close.pngCtrl+Shift+F4Click this button to close the tool window. If one or more commands are still running, the Command Line Tool dialog box opens. Specify whether you want to stop them or leave running in the background by clicking one of the following buttons:
  • Terminate and close
  • Close without terminating
help Help
Use this icon or shortcut to open the corresponding help page.
Last modified: 30 August 2017

See Also