To configure settings for P4Admin, choose Edit > Preferences (Windows) or P4Admin > Preferences (Mac). The Preferences dialog includes the following configuration pages:
Click Applyto save your changes. Click OKto save your changes and exit the dialog.
You can configure the following settings for connecting to Perforce servers:
When the application launches:
Opening and closing connections:
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 unicode-mode Perforce servers.
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 Perforce 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 Perforce administrator.
You can configure the way the Administration Tool displays files and file icons:
File preview font:Specifies the font that the Administration Tool uses to display files in the preview pane.
Click Show fixed sized fonts onlyto limit the selection in the font drop-down to fixed-sized fonts.
You can configure the following Administration Tool user interface behaviors:
Prompts:
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 context-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 Perforce servers to serve applets that can run in the Administration Tool. In order for these applets to run in the Administration Tool, you must enable applets in your Administration Tool preferences. For more information about Perforce applets, see the Perforce Javascript API for Visual Tools User Guide.
To enable Perforce applets to run in the Administration Tool:
Specify the Perforce servers from which you are willing to accept Perforce applets:
Click Advanced… to specify the following settings: