At the IntelliJ IDEA level, integration with command line tools is supported via the Command Line Tool bundled plugin. The plugin is by default enabled. If not, enable it in the Plugin Configuration Wizard or the Plugins page of the Settings dialog box.
-
Download the desired tool.
Note
Currently IntelliJ IDEA supports integration with Zend Framework
and Symfony
version 1.1 or higher.
- Open the project settings and click the Command Line Tool Support.
- In the Command Line Tool Support page, click the Add button. In the Choose Framework to Add dialog box that opens, choose Zend Framework or Symfony.
-
In the dialog box that opens, specify the path to the definition file of the chosen tool in the Path to <tool> text box.
Depending on the chosen tool, specify the location of the following file:
- zf.bat for Zend Framework.
- symfony for Symfony 1.*.
- app/console for Symfony 2.
- In the Alias text box, specify the alias to use in calls of framework commands. Accept the default alias or edit it, if necessary.
- To activate the detected command set, select the Enable check box.
- Customize the command set, if necessary.
-
In the Show console in area, specify where you want the Input pane for typing commands opened:
- To have the Input pane opened in a pop-up window, choose the Pop-up option.
- To have the Input pane opened as a text box at the bottom of the Command Line Tools Console tool window, choose the Tool window option.
- Open the project settings and click the Command Line Tool Support.
- In the Command Line Tool Support page, click the Add button. In the Choose Framework to Add dialog box that opens, choose Custom Framework
-
In the Framework Settings dialog box that opens, specify the following:
- Tool name and location.
- The alias to use in command calls instead of the full path to the tool.
- Brief explanation of the tool functionality.
- When you click OK, IntelliJ IDEA brings you to the Command Line Tool Support page, where the new tool is added to the list of available frameworks.
- Select the newly created tool and click the Open definition in editor button. In the tool definition .xml file that opens in the editor, define the tool commands.
-
In the Show console in area, specify where you want the Input pane for typing commands opened:
- To have the Input pane opened in a pop-up window, choose the Pop-up option.
- To have the Input pane opened as a text box at the bottom of the Command Line Tools Console tool window, choose the Tool window option.
