Perforce
The page is available only when the Perforce plugin is enabled. The plugin is bundled with PhpStorm and activated by default. If the plugin is disabled, enable it on the Installed tab of the Settings | Plugins page, as described in Managing plugins.
Use this page to specify the version control settings to be applied to those directories of your project that are under Perforce control
Item | Description |
---|---|
Perforce is online | Select this checkbox to work with Perforce in the online mode. |
Switch to offline mode automatically if Perforce is unavailable | Select this checkbox to have PhpStorm automatically go offline as soon as Perforce becomes unavailable and display the corresponding message. |
Use P4CONFIG or default connection | If this option is selected, Using |
Use connection parameters | If this option is selected, the connection credentials (port, client, user name, and charset) are specified manually. |
Port | In this text box, type the server and the port which your Perforce client will listen to. For the default Perforce server configuration, it looks like perforce:1666. |
Client | In this text box, type the name of your Perforce workspace name. |
User | In this text box, type your user name to authenticate to the server. |
Charset | From this drop-down list, select the character set to be used. |
Dump Perforce commands to <path> | Select this checkbox to have PhpStorm create a file P4.output and store the output of Perforce commands in it. |
Use login authentication | When this checkbox is selected, Perforce requires a login to authenticate a user. |
Test Connection | Click this button to check whether the specified settings ensure establishing connection to the Perforce server. |
Path to P4 executable | In this field, specify the path to the Perforce Command Line Client's executable file P4. Click Browse to open the Select Path - P4 Configuration dialog and select the executable file in the directories tree. |
Path to P4V executable | In this field, specify the path to the Perforce Visual Client's executable file P4V. Click Browse to open the Select Path - P4 Configuration dialog and select the executable file in the directories tree. |
Show branching history ... | Select this checkbox to enable displaying the branch history of a specified file, including all file branch points, edits, and merges. |
Show integrated changelists in committed changes | Select this checkbox to have PhpStorm point at committed changes that are also integrated to other changelists and provide information on the target changelists that received the content in question. |
Server timeout | In this text box, specify the time period in seconds after when the Perforce client cancels its attempts to establish connection to the server. |
Enable Perforce Jobs Support | When this checkbox is selected, user interface for attaching and detaching Perforce jobs to change lists is provided in the Version Control tool window Alt+9 and in the Commit Changes dialog. |