PyCharm 2016.3 Help

Using Perforce Integration

This feature is supported in Professional edition only.

With the Perforce integration enabled, you can perform basic Perforce operations from inside PyCharm.

In this section:

Prerequisites

  • A Perforce client is installed on your computer.
  • You have an account with the Perforce depot.

To start using Perforce integration, perform the following preliminary steps

  1. Create a client spec using your Perforce client.
  2. Get source files from the Perforce depot using your Perforce client.
  3. As soon as the local working copy is on your computer, associate your local directory with Perforce.

    After that you will be able to open source files for edit, and perform the usual Perforce-related tasks using PyCharm.

Perforce support

  • When Perforce integration with PyCharm is enabled, the Perforce item appears on the VCS menu, and on the context menus of the Editor and Project views.
  • The files in the folders under the Perforce control are highlighted according to their status. See File Status Highlights for file status highlighting conventions.
  • Modifications results are shown in the Version Control tool window.
  • When using Perforce integration, it is helpful to open the Version Control tool window. The Console tab displays the following data:
    • All commands generated based on the settings you specify through the PyCharm user interface.
    • Information messages concerning the results of executing generated Perforce commands.
    • Error messages.

See Also

Last modified: 23 December 2016