Set P4 for Visual Studio preferences

To set P4 for Visual Studio preferences in Visual Studio, go to Tools > Options. You can specify preferences on the following nodes in the Options dialog under Source Control:

In addition, you can:

  • Specify keyboard shortcuts for P4 for Visual Studio commands. Go to Tools > Options > Environment > Keyboard.
  • Turn on CodeLens functionality for P4 for Visual Studio. Go to Tools > Options > Text Editor > All Languages > CodeLens and select Show P4 Commit Provider.