Associate your IDEA project with Perforce ("p4") through the built-in version control.
The plugin will keep Your client's open changelists synchronized with the IDEA backed changelists, viewable under the "Changes" view. If the changelists become out of sync, you can force the plugin to re-examine the mappings by pressing the refresh button in the changes view.
Modifying a file, moving a file, copying a file, refactoring a file, and deleting a file will perform the correct Perforce operations, and put the changes into the currently selected IDEA changelist. Per-file history allows for comparing against the depot versions, even against the inherited file history.
Once you install the plugin, you can associate a project directory with Perforce in the project settings (File - Settings..., then navigate to the Version Control panel). Make sure to edit the Perforce configuration to set the proper server connection settings. You can see how the plugin evaluates the properties across your project by viewing the Server Connection tab.
For most people, the environment variables will be sufficient to use the same mechanism to connect to the Perforce server as what the command-line
p4 tool does. However, you may need to explicitly set the property values, or use a file that contains the settings.
For SSL, you will want to use a
P4PORT setting that starts with
ssl:// (such as
ssl://perforce:1666). If you have the server registered in the authorized hosts, then make sure that `P4TRUST` setting points to that file; or you can add a SSL server fingerprint setting to explicitly state the expected SSL fingerprint.
Full documentation on the configuration settings is on the main project page.
Please visit the GitHub project open issues for a list of known issues, or for reporting new ones.