IntelliJ IDEA 2016.3 Help

Command Line Tool Support

File | Settings | Command Line Tool Support for Windows and Linux
IntelliJ IDEA | Preferences | Command Line Tool Support for OS X
Ctrl+Alt+S

/help/img/idea/2016.3/settings.png

This page appears in the Settings/Preferences dialog box, when the Command Line Tool Support plugin is downloaded, installed and enabled. The plugin is not bundled with IntelliJ IDEA, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins. The page shows a list of all PHP-specific and custom command line tools that are currently available at the IntelliJ IDEA level.

Tools with inconsistencies in the definition files are marked with the Invalid description icon /help/img/idea/2016.3/icon_incorrect_description.png.

Note that PHP-specific command line tools work only with local PHP interpreters, see Configuring Local PHP Interpreters and Enabling PHP support.

Use this page to enable integration with third-party PHP command line tools and define your own ones.

ItemTooltip and shortcutDescription
Table of available tools
EnabledWhen the check box in this column is selected, the commands defined within the corresponding command line tool can be executed from IntelliJ IDEA.
AliasIn a text box in this column, specify the character string to use in command calls instead of the full path to the tool.

For example, by default, IntelliJ IDEA assigns the following aliases:

  • s for Symfony.
  • zf for Zend Framework.
  • c for Composer.

Tool PathIn a text box in this column, specify the location of the tool's executable file.
TypeA read-only field in this column shows the official name of the third party command line tool.
  1. The column is available only if the Show tool type check box is selected.
  2. For custom command line tools, the fields in this column are empty.
Toolbar
/help/img/idea/2016.3/new.pngAdd
Alt+Insert
Click this button to open the Command Line Tools dialog box and select the type of command-line tool to enable integration with. The available options are:
  • Custom Tool
  • Zend Framework 1 Tool
  • Zend Framework 2 Tool
  • Symfony
  • Composer
  • Drush
  • Tool based on Symfony Console
/help/img/idea/2016.3/delete.pngRemove
Alt+Delete
Click this button to have the selected tool removed from the list.
/help/img/idea/2016.3/editFlexLibraryNew.pngEditClick this button to change the definition of the selected tool.
/help/img/idea/2016.3/refresh.pngReload command list from executableClick this button to have IntelliJ IDEA refresh the list of commands of the selected tool.
/help/img/idea/2016.3/edit.pngOpen definition in editorClick this button to have IntelliJ IDEA open the .xml file with commands of the selected tool in the editor.
Show tool typeIf this check box is selected, the Type column is added to the table of available tools.
Show console inIn this area, specify where you want to enter commands. The available options are:
  • Pop-up - choose this option to have the Command Line Tools Input pane opened in a separate pop-up window and type commands there.
  • Tool window - choose this option to enter commands in the Input field in the bottom of the dedicated Command Line Tools Console tool window.
Console encodingFrom this drop-down list, choose the character set to show the tool's output in the Command Line Tools Console Tool Window.

See Also

Last modified: 21 March 2017