Confirmation
File | Settings | Version Control | Confirmation for Windows and Linux
CLion | Preferences | Version Control | Confirmation for macOS
Ctrl+Alt+S
In this page, specify whether you want CLion to ask you for confirmation before performing specific version control related actions.
Item | Description |
---|---|
When files are created | In this section, specify whether and how to put a file created in CLion under version control:
|
When files are deleted | In this section, specify whether and how to remove a file from version control when the file is deleted:
|
When empty changelist becomes inactive | In this section, specify CLion behavior on deleting an empty changelist.
|
Display Option dialogs when these commands are invoked | In this area, specify whether you want CLion to ask you for confirmation when invoking the commands selected below.
|
Show Clear Read-Only Status Dialog | Select this checkbox to have CLion explicitly require cancellation of the read-only status when you open a file in the editor and try to modify it. The read-only status can be cleared in two ways:
This option is relevant for the version control systems that separate check-out from opening for editing. |
Restore worksapce on branch switching | Select this option if you want your workspace, that is a set of opened files, the current run configuration and breakpoints associated with a certain branch, to be restored when you switch to that branch. |
Show patch in explorer after creation | Use this list to define the CLion behavior when a patch is created. The available options are:
|