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.
You can configure the following settings for connecting to a Helix Server:
When the application launches:
Opening and closing connections:
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:
You can configure the following logging options:
Log pane options:
Logging to a file:
Enable logging to file: Logs Administration Tool activity to the specified file.
You can configure the following Administration Tool display and localization options:
Application:
Dates: Sets the date format used throughout the Administration Tool.
Localization:
Set encoding for all connections to: Sets the character encoding for connections to a unicode-mode Helix Server.
If you do not set the encoding here, you are prompted to enter the character encoding every time you set up a connection to a unicode-mode Helix Server. The encoding that you set here does not affect server connections whose character encoding has already been set at connection. If you are unsure which setting to choose, consult your Helix Server administrator.
You can configure the way the Administration Tool displays files and file icons:
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.
You can configure the following Administration Tool user interface behaviors:
Drag and drop:
You can configure the following Revision Graph and Time-Lapse View options:
Revision Graph:
Time-Lapse View:
To associate file types with the applications you use to edit them:
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.
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.
To set the default diff application, select one of the following:
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:
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.
Click Save.
The extension and associated application are displayed in the list of file type-application associations.
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:
Specify the Helix Server (one or more) from which you are willing to accept Perforce applets:
host:port
in the Server field.Click Advanced to specify the following settings: