Perforce
Install the Perforce plugin
This functionality relies on the Perforce plugin, which you need to install and enable.
Press Ctrl+Alt+S to open settings and then select .
Open the Marketplace tab, find the Perforce plugin, and click Install (restart the IDE if prompted).
Before you start
Install a Perforce client as described on the Perforce Official website.
Create an account with the Perforce depot.
Start with Perforce in IntelliJ IDEA
Create a client spec using your Perforce client.
Get source files from the Perforce depot using your Perforce client.
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 IntelliJ IDEA.
Perforce support
When Perforce integration with IntelliJ IDEA is enabled, the option appears in the menu, and in the context menus of the editor and Project tool window (Alt+1) .
The files in the folders under the Perforce control are highlighted according to their status. See Check file status for file status highlighting conventions.
Modifications' results are shown in the Commit tool window (Alt+0) .
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 that are generated based on the settings you specify through the IntelliJ IDEA user interface.
Information messages concerning the results of executing generated Perforce commands.
Error messages.