Configuring P4Admin preferences

To configure settings for P4Admin, select Edit > Preferences​ (Windows) or P4Admin > Preferences​ (Mac). The Preferences dialog includes the following configuration pages:

Click Apply to save your changes. Click OK to save your changes and exit the dialog.

Connections

You can configure the following settings for connecting to a Helix Server:

When the application launches:

Opening and closing connections:

Server Data

You can configure how much data P4Admin processes during a session to minimize server load for frequently run commands and large data transfers. The following settings are available:

Logging

You can configure the following logging options:

Log pane options:

Logging to a file:

Display

You can configure the following Administration Tool display and localization options:

Application:

Localization:

Files

You can configure the way the Administration Tool displays files and file icons:

Application Font

You can configure the font family, style, and size for the application font and file content font that P4Admin uses. For file content, you can also select to Show fixed sized fonts only. Selecting this option limits the values available in the Font family list to fixed-sized fonts.

Behavior

You can configure the following Administration Tool user interface behaviors:

Drag and drop:

Tools

You can configure the following Revision Graph and Time-Lapse View options:

Revision Graph:

Time-Lapse View:

Editor

To associate file types with the applications you use to edit them:

  1. Click Add.
  2. Select a file extension from the drop-down list.
  3. Enter or browse for the associated application.
  4. (Optional) Select Always use the selected application to open files of this typeto set the application as the default.
  5. Click Save.

You can enter as many applications as you like for each extension. All of the applications will appear as options when you right-click a file in the Administration Tool and select Open With.

Note

Any application that you’ve used to open a file from the context menu in the Administration Tool appears by default as an associated application on the Editor page in the Administration Tool Preferences dialog, unless you remove it.

Diff

To set the default diff application, select one of the following:

  1. P4Merge: The companion diff tool.
  2. Other application: Browse to your preferred diff tool.

    To specify arguments for third-party diff applications, enter %1 for the name of the first file and %2 for the name of the second file in the Arguments field. Perforce replaces these placeholders with the actual filenames when calling the diff application.

To assign diff applications by file type:

  1. Click Add.
  2. Select a file extension from the drop-down list.
  3. Enter or browse for the associated application.
  4. Specify arguments for third-party diff applications in the Arguments field:

    Enter %1 for the name of the first file and %2 for the name of the second file. The Administration Tool replaces these placeholders with the actual filenames when calling the diff application.

  5. Click Save.

    The extension and associated application are displayed in the list of file type-application associations.

Applets

You can enable a Helix Server to serve applets that can run in P4Admin. For these applets to run in P4Admin, you must enable applets in the P4Admin preferences. For more information about Perforce applets, see the Perforce Javascript API for Visual Tools User Guide.

To enable applets to run in P4Admin:

  1. Select Allow Perforce applets to run in P4Admin.
  2. Specify the Helix Server (one or more) from which you are willing to accept Perforce applets:

  3. Click Advanced to specify the following settings: