WebStorm 8.0.0 Web Help

File | Settings | Version Control | Confirmation

In this page, specify whether you want WebStorm 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 WebStorm under version control. The following options are available:
  • Show options before adding to version control: When this option is selected, newly created files are put under version control after you specify the version control options in the dialog box that opens.
  • Add silently: When this option is selected, newly created files are automatically put under version control without displaying any messages.
  • Do not add: When this option is selected, newly created files remain unversioned and you can put them under version control later.
When files are deleted In this section, specify whether and how to remove a file from the version control system when the file is removed in WebStorm. The following options are available:
  • Show options before removing from version control: When this option is selected, locally removed files are also removed from the specified VCS but first a dialog box for selecting version control options is displayed.
  • Remove silently: When this option is selected, all locally removed files are removed from the specified VCS without asking for confirmation.
  • Do not remove: When this option is selected, locally removed files remain under version control.
When empty changelist becomes inactive In this section, specify WebStorm behavior on deleting an empty changelist.
  • Show options before removing: When this option is selected, WebStorm asks for confirmation before removing an empty changelist that has lost its active status:

    deleteEmptyChangelist

    If you choose to delete such a changelist, WebStorm suggests to choose another changelist to be marked as active.

    activeChangelist

  • Remove silently: When this option is selected, WebStorm automatically deletes empty changelists that become inactive, except for the Default changelist.
  • Do not remove: When this option is selected, empty changelist is not deleted on loosing its active status.
Display Option dialogs when these commands are invoked In this area, specify whether you want WebStorm to ask you for confirmation when invoking commands, specified below. To enable showing a prompt before performing an action, select the relevant check boxes.

Tip

  • Availability of commands depends on the particular version control system.
  • Use controls in this area to restore the original settings, if you have suppressed showing operation-specific option dialog boxes by selecting the Do not show this dialog in the future check box.
Show Clear Read-Only Status dialog box Select this check box to have WebStorm 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:

  • Using the current VCS: the file is added to a changelist.
  • Using a file system: the file is not added to the changelist.

Note

This option is relevant for those version control systems that separate check-out from opening for editing.

Suggest to move uncommitted changes to another changelist When this option is selected, on committing a changelist to the repository with some files excluded from the commit, WebStorm prompts to move these files to another changelist.
Force non-empty check-in comments Select this check box to suppress committing changes without supplying them with corresponding comments.
Clear initial commit message If this check box is selected, the previous check-in comment is cleared from the Comment area.
Show patch in explorer after creation Use this drop-down list to define the WebStorm behavior when a patch is created. The available options are:
  • Yes: if this option is selected, native file manager always opens to show the patch file.
  • No: if this option is selected, the native file manager will not open.
  • Ask: if this option is selected, WebStorm will display a dialog box informing about successful patch creation, and a suggestion to locate the patch file in the native file manager.
Create changelist on failed commit Use this drop-down list to define the WebStorm behavior in case of failed commits. The available options are:
  • Yes: if this option is selected, the Failed commit changelist will be automatically created, and the respective files will be moved to this changelist.
  • No: if this option is selected, the files that failed to commit will remain in their original changelist.
  • Ask: if this option is selected, on failed commit WebStorm will display a dialog box asking whether the files should be moved to another changelist, or remain in the original one.

See the section Resolving Conflicts.

See Also

Concepts:

Reference:

Version Control:

Web Resources: