CLion 2017.2 Help

Changelist Conflicts

File | Settings | Version Control | Changelist Conflicts for Windows and Linux
CLion | Preferences | Version Control | Changelist Conflicts for macOS
Ctrl+Alt+S settings


Use this page to configure protection of files belonging to inactive changelists, from occasional conflicts.

ItemDescription
Enable changelist conflict trackingIf this check box is selected, CLion makes it possible to protect files in inactive changelists. Such protection can be performed on the various levels enabled by the options listed below.
Show conflict resolving dialogIf this check box is selected, CLion shows Resolve Changelist Conflict dialog box on an attempt to modify a file.
conflictingChangelist1.png

You need to define the way to resolve a conflict, before you proceed with changes. The possible ways to resolve a conflict are as follows:

  • Shelve changes.
  • Move file to the active changelist.
  • Switch changelists to make the current changelist active.
  • Ignore conflict. In this case, the file in question will be added to the list of files with ignored conflicts.
Highlight files with conflictsIf this check box is selected, CLion shows a yellow stripe on top of a file from an inactive changelist, when such file has been modified.
conflictingChangelist2.png

In this stripe, you can choose one of the possible ways to resolve conflict:

  • Move file to the active changelist.
  • Switch changelists.
  • Ignore conflict.

Names of the files belonging to inactive changelists are shown in red font in the editor tabs and in the Project view.

Highlight files from non-active changelistsIf this check box is selected, names of the files belonging to inactive changelists are shown in light-blue font in the editor tabs and in the Project view.
Files with ignored conflictsThis area shows the list of files, for which Ignore option has been selected in the Resolve Changelist Conflict dialog box, or in the editor stripe.
ClearClick this button to remove all files from the list of files with ignored conflicts.
Last modified: 15 December 2017

See Also