PhpStorm 2017.1 Help

Phing Settings Dialog

PhpStorm 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

The dialog box opens when you click the Settings button properties.gif on the toolbar of the Phing Build tool window.

In this dialog box:

On this page:

General Area

Path to Phing executable In this text box, specify the location of the phing.bat file. Type the path manually or click the Browse button browseButton.png and choose the file location in the dialog box that opens.
Command line options In this text box, specify the additional command line arguments to be passed to Phing when the build is launched. If necessary, click the /help/img/idea/2017.1/shift-enter-button.png and type the desired options in the Command Line Options dialog box. Type each option on a new line. When you close the dialog box, they are all displayed in the Command line options text box with spaces as separators.

Properties Tab

Use this tab to configure a list of property elements externally. These properties are passed to Phing through a command line when build execution is launched and therefore they are every time re-calculated dynamically.

Add Click this button to have an empty line for a new property element added to the list.
Remove Click this button to remove the selected element from the list.
Property In this text box, type the name of the property element.
Value In this text box, specify the value of the element to be passed during build execution. Do one of the following:
  • Type the value manually.
  • To use PhpStorm macros, click the Insert macro button /help/img/idea/2017.1/new.png and configure a list of relevant macro definitions in the Macros dialog box that opens. To add a macro, select it in the list and click Insert.

Hiding Targets Tab

In this tab, specify which targets defined in the currently selected build file you want to have shown or hidden in the file tree view.

Among the targets defined in a build file, you may have some that are only called by other targets and are never run alone. You can suppress showing such targets in the build file tree by marking them as hidden.

Hidden targets do not become visible when you expand the node of a specific build file or click Expand All button expandAll.png.

Target This field shows a list of all the targets defined in the current build file.
  • When this check box next to the name of a target is selected, the target is not shown in the tree view of the file.
  • When this check box is cleared, the corresponding target is displayed in the tree view of the file.

You can mark a target as hidden both directly from the Phing Build tool window or from the Phing Settings dialog box. However, the hidden status can be removed only through the Phing Settings dialog box.

See Also

Last modified: 31 March 2017