# P4V shortcuts

## Locating specifications and files

To go directly to a specification (such as a changelist, user, or label), choose Edit>Go To... and enter the name of the desired specification.

To locate a file in the depot or your workspace, choose Edit>Find File... Enter the desired path, select All Depots or Workspace, and click Find.

## Drag and Drop

P4V supports drag-and-drop shortcuts for common tasks, as described below. To enable or disable drag-and-drop file integration or diffing, choose Tools>Preferences and set the desired option on the General tab.

- To get a file revision at a submitted changelist, workspace, label or file revision, drag the submitted changelist, workspace, label or file revision to the field next to the Get Revision dialog To field.
- To integrate files, drag the source files or folders to the target files or folder.
- To label a file, drag a file or a folder to a label. Alternately, drag a label onto a file or folder.
- To diff two file revisions, drop a file or a file revision onto another file revision. To display file revisions, context-click the file and choose File History.
- To diff revisions of different files, display the File History for both files, then drag a revision from one window to the other and drop it on the other revision.
- To diff two folder revisions, drop a folder revision onto another folder revision. To display folder revisions, context-click the folder and choose Folder History.
- To add files to a pending changelist, drop files onto the pending changelist itself, or onto the Files field of the pending changelist's Submit form.
- To move a file from one changelist to another, drag files from the source Submit form to the target Submit form. Alternately, choose View>Pending Changelists, and drag the files from the source changelist to the target changelist.
- To filter the pending changelists or submitted changelists displayed in the left pane, drag files or folders from the Tree pane to the filters field above the changelist pane.
- To add a job to a changelist, drag the job from the Jobs tab of the right pane to the Jobs field of the pending changelist. You cannot attach a job to a submitted changelist.