WebStorm 2021.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 Manage plugins.

The tool window is marked with the Command Line Tools Console icon. Use the tabs of this tool window to type and run commands in the command line and to validate .xml descriptors for structure consistence.

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 (field or popup) 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.

Toolbar Options

ItemTooltip and ShortcutDescription
the Stop buttonStopClick this button to cancel execution of a command without closing the tool window.
the Preview Command buttonTo previous command
Click this button to navigate to the previous command.
the Preview Command buttonTo next command
Click this button to navigate to the next command.
the Soft-Wrap buttonUse Soft WrapsClick this toggle button to have the soft wrap mode applied to the output.
the Scroll to the end buttonScroll to the endClick this button to navigate to the bottom of the output tab named after the last invoked command.
PrintPrintClick this button to have the contents of the console printed out. Upon clicking the button, WebStorm opens the Print dialog, where you can configure the printing procedure and output.
Clear allClear AllClick this button to remove all text from the console. This function is also available from the context menu of the console.
the Export to Text file buttonExport to Text Alt+OClick this button to have the results of executing commands saved in a text file. In the Export Preview dialog, that opens, specify the target file, and click Save.
the Close buttonCtrl+Shift+F4

Click this button to close the tool window. If one or more commands are still running, the Command Line Tool dialog 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
Last modified: 23 April 2021