CLion 2024.1 Help

Check Perforce project status

Besides indicating the current file status relative to the repository, CLion integration with Perforce provides you with the accumulated view of the project files' statuses.

View differences between the current state of the project files and the repository

  1. Open the required project.

  2. In the main menu, go to VCS | Refresh File Status.

  3. Open the Commit tool window Alt+0.

  4. The status of each file is indicated by the color in which the path to the file is displayed.

    checkProjectStatusPerforce.png

Refresh the statuses of project files

CLion provides two refresh modes for statuses of files under Perforce control.

  • Standard Refresh takes into consideration only the changes made through the CLion integration with Perforce. This improves performance as it does not require connecting to the server. However, this approach does not let you know about the changes made outside CLion, for example, right through the p4v client application.

  • Force Refresh considers all the changes made to project, both from CLion and from any other application, for example, right through p4v client.

  1. Open the Commit tool window Alt+0.

  2. Do one of the following:

    • To run Standard Refresh, click the Refresh toolbar button or press Ctrl+F5.

    • To run Force Refresh, click the Force Refresh toolbar button the Refresh button.

Last modified: 17 June 2024