DataGrip 2020.1 Help

Perforce

Install the Perforce plugin by JetBrains

To enable version control in DataGrip, install the Perforce plugin by JetBrains.

  1. Open settings Ctrl+Alt+S and navigate to Plugins.

  2. Click Marketplace.

  3. In the search field, type Perforce and press Enter.

  4. To install the plugin, click Install and restart DataGrip.

Before you start

  1. Install a Perforce client as described on the Perforce Official website.

  2. Create an account with the Perforce depot.

Start with Perforce in DataGrip

  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 DataGrip.

Perforce support

  • When Perforce integration with DataGrip is enabled, the Perforce item appears in the VCS menu, and in the context menus of the editor and Project tool window.

  • 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 Perforce tool window Alt+9.

  • When using Perforce integration, it is helpful to open the Console tab of the Perforce tool window Alt+9, which displays the following data:
    • All commands generated based on the settings you specify through the DataGrip user interface.

    • Information messages concerning the results of executing generated Perforce commands.

    • Error messages.

Last modified: 23 June 2020