Configuring P4V preferences
To configure settings for P4V, choose Tools>Preferences... The Preferences
dialog
is displayed. You can specify the following settings.
General tab
- Check server for updates every n minutes: specifies how often
P4V
checks the server for updated file information.
- Number of list entries to fetch at a time: specifies the maximum
number of files for which information is retrieved from the server, to help
minimize the time it takes P4V to start up. The most recent entries are
retrieved. To retrieve all entries, specify 0.
- Maximum number of files displayed per changelist: specifies the
maximum number of files displayed in a
changelist. This helps minimize the time it takes P4V to handle and submit very
large changelists. You can still submit changelists with more than this number
of files, but the files are displayed as follows:
- Pending and Submitted tabs state "There are ### files in this
changelist."
- Spec Details tab shows the
list of files in a simple text box.
- Log options
- Log all: enables logging of all server activity.
- Enable logging to file: enable if you want P4V activity logged to
a file.
- Name: specifies the name and location of the log file.
- Size: specifies the maximum size of the log file.
- Enable diff2 on file-to-file drag and drop: launches the diff
utility
when you drop a file on another file.
- Enable integration on directory-to-directory drag and drop:
launches
the integration dialog when you drop a folder on another folder.
- Warn before reverting files: select this option to have P4V warn
you whenever you are reverting files.
Connection tab
Specifies how the active server and workspace are determined
when you start P4V.
- Show the Perforce Connection dialog: displays the Perforce
Connection
dialog, from which you can specify the desired connection settings.
- Restore the last Perforce workspaces used: connect to the last-
used
server and open the last-used workspace.
- Open the client workspace that matches your Perforce environment
settings:
use the server and workspace specified by your environment settings.
Editor tab
Enables you to specify the editor to be launched for specific
file types.
To assign a default editor:
- Click Browse to browse for the application that you wish to use for your default editor.
- In the Choose an Application window, select the application.
- Click Open. The path to that application is now in the Default editor field.
Note: If you know the path to the application, you can also type it into this field.
To assign an editor to specific file types:
- Click Add.
- Select an Extension from the pull-down menu.
- In the Application field, browse to the program to use to edit files with that extension
and click Open.
- Click Save. The extension and associated application are displayed in the list of editors.
- If you wish to change the application association, click Edit.... If you would like to remove it, click Remove.
- Click OK to save your entries.
Diff tab
Enables you to specify which application(s) P4V uses when diffing files. In addition to selecting a default diff application, you can also assign diff applications to use with specific extensions.
To assign a default diff application:
- Select one of the following options:
- Use P4V's diff tool. This is the recommended diff tool to use with P4V.
- Use external application. Browse to the application that you wish to use when diffing files.
- Click OK to save your entries.
To assign diff applications by extension:
- Click Add.
- Select an Extension from the pull-down menu.
- Browse to the program to use to diff files with that extension
and click Open.
- Click Save. The extension and associated application are displayed in the list of diff applications.
- If you wish to change a diff application association, click Edit.... If you would like to remove it, click Remove.
- Click OK to save your entries.
Merge tab
Enables you to specify a default application for P4V to use when merging files.
To assign a default merge application:
- Select one of the following options:
- Use P4V's merge tool. This is the recommended merge tool to use with P4V.
- Use external application. Browse to the application that you wish to use when merging files.
- Click OK to save your entries.
Font tab
Enables you to specify which font P4V uses for viewing files in the diff, merge, and Time-lapse View tools.
To choose a specific viewing font:
- Use the pull-down menus to select the Font, Font Style, and font Size.
Note: You will see a preview of the font that you have selected in the Sample field.
- If you wish to return to the default font, click Reset.
- Click OK to save your selections.