PhpStorm 2018.2 Help

Perforce

File | Settings | Version Control | Perforce for Windows and Linux
PhpStorm | Preferences | Version Control | Perforce for macOS
Ctrl+Alt+S icons general settings svg


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, P4CONFIG or the default Perforce connection are used to connect to the Perforce server.

Using P4CONFIG makes it trivial to switch between Perforce settings for different projects, when necessary.

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 text box, specify the path to the Perforce Command Line Client's executable file P4. Click Browse browseButton.png to open the Select Path - P4 Configuration dialog box and select the executable file in the directories tree.

Path to P4V executable

In this text box, specify the path to the Perforce Visual Client's executable file P4V. Click Browse browseButton.png to open the Select Path - P4 Configuration dialog box 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 and in the Commit Changes dialog box.

Last modified: 21 November 2018

See Also