IntelliJ IDEA 13.1.0 Web Help

11.0+

IntelliJ IDEA editor | Context menu of a Phing build file | Add as Phing build file

Project Tool Window | Context menu of a Phing build file | Add as Phing build file

View | Tool Windows | Phing Build

Warning

The tool window is available through View | Tool Windows | Phing Build only when the Phing support is enabled in the current project.

In this tool window:

  • Specify the location of the phing.bat file.
  • Configure a list of Phing build files for packaging, deploying, or testing PHP applications.
  • Appoint targets to be executed before running or debugging according to specific configurations.
  • Run entire build files and specific build targets.

The functionality of the Phing tool window is available through the toolbar buttons and the context menu of a build file or target.

Note

  • View | Tool Windows | Phing Build - the tool window can be accessed this way after you have opened it through the context menu of a Phing build file in the editor or in the Project tool window.
  • The tool window is available only when the Phing Support bundled plugin is enabled. The plugin is active by default. If not, activate it in the Plugins page of the Settings dialog box.

Toolbar

Item Tooltip and shortcut Description
add.png Add Click this button add a new script to the list. In the Select Phing Build Script dialog box, that opens, choose the desired file.
delete.png Remove Click this button to remove the selected build file from the list.
run.png Run Click this button to run the selected build file or target.
expandAll.png Expand all
Ctrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCommand NumPad or Command EqualsCommand NumPad or Command EqualsCommand NumPad or Command Equals
Click this button to have IntelliJ IDEA show a tree of targets defined in the selected build file.
collapseAll.png Collapse all
Ctrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad -Ctrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCommand NumPad - or Command MinusCommand NumPad - or Command MinusCommand NumPad - or Command Minus
Click this button to have IntelliJ IDEA collapse all the targets in the selected build file.
properties.gif Properties Click this button to have the Phing Properties dialog box opened. In this dialog box, specify the location of the phing.bat file.

If necessary, configure the build procedure and the format of the output by specifying command line arguments in the Command Line Options text box.

Tip

If the set of arguments is too large to fit in the text box, click the shift-enter-button.png button or press Shift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift EnterShift EnterShift Enter and type the desired arguments in the Command Line Options dialog box, that opens.

Context menu

Item Description Available for
Run Build run.png Choose this option to have the selected build file executed. Build files
Run Target run.png Choose this option to have the selected build target executed. Build targets
Jump to Source Shortcut Missing Choose this option to navigate to the source code of the selected build file or to the definition of the selected target. Build files
Build targets
Remove Choose this option to remove the selected build file from the list. Build files
Before Run/Debug Choose this option to have the selected build target always executed before running or debugging the project according to specific run/debug configurations. In the Execute Target Before Run/Debug dialog box that opens, select the configurations before which you want the target executed. Build targets
Properties properties.gif Click this button to have the Phing Properties dialog box opened. In this dialog box, specify the location of the phing.bat file.

If necessary, configure the build procedure and the format of the output by specifying command line arguments in the Command Line Options text box.

Tip

If the set of arguments is too large to fit in the text box, click the shift-enter-button.png button or press Shift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift EnterShift EnterShift Enter and type the desired arguments in the Command Line Options dialog box, that opens.

Build files
build targets

See Also

Procedures:

Getting Started:

Web Resources: