PhpStorm 2021.2 Help

Phing settings dialog

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

In this dialog:

General Area

Item

Description

Path to Phing executable

In this field, specify the location of the phing.bat file. Type the path manually or click Browse the Browse button and choose the file location in the dialog that opens.

Command line options

In this field, specify the

additional command line arguments to be passed to Phing when the build is launched. If necessary, click the the Expand button and type the desired options in the Command Line Options dialog. Type each option on a new line. When you close the dialog, they are all displayed in the Command line options field 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.

Item

Description

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 field, type the name of the property element.

Value

In this field, 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 the Add button and configure a list of relevant macro definitions in the Macros dialog 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 the Expand All button.

Item

Description

Target

This field shows a list of all the targets defined in the current build file.

Hide

  • When this checkbox next to the name of a target is selected, the target is not shown in the tree view of the file.

  • When this checkbox 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. However, the hidden status can be removed only through the Phing Settings dialog.

Last modified: 14 September 2021