WebStorm 2017.1 Help

Edit Check-in Policies Dialog

File | Settings | Version Control | TFS for Windows and Linux
WebStorm | Preferences | Version Control | TFS for macOS
Ctrl+Alt+S
/help/img/idea/2017.1/settings.png


The dialog box opens when you select an entry in the Server/Workspace list and click the Check-in Policies button in the Manage TFS Servers and Workspaces dialog box.

A check-in policy is a rule that is executed before every check-in to ensure that the selected changeset is OK to commit. Standard policies are stored on the server and are executed on the client machines.

Custom policies are implemented as custom plugins to WebStorm. The IDs of these plugins are stored on the server, while the policies themselves are applied locally. Therefore, to enable the use of a policy in a team, all the team members should install the corresponding plugin.

Use this dialog box to manage the list of the custom project policies to be applied when checking in to the selected workspace and to override the default WebStorm-wide policies for the project, if necessary.

In this section:

Check-in Policies

ItemDescription
Team ProjectFrom this drop-down list, select the name of the project to specify the policies for.
Policy TypeThis read-only field shows the available policies.
DescriptionThis read-only field shows brief descriptions of policies.
EnabledWhen this check box is selected, the policy next to it is mandatory during check-in.
AddClick this button to open the Add Check-in Policy dialog box where you can define a new check-in policy.
EditClick this button to open the Edit Check-in Policy dialog box where you can re-define the selected check-in policy.
RemoveClick this button to remove the selected check-in policy from the list.

Compatibility

Use the controls in this area to suppress applying the default WebStorm-wide check-in policy settings to the current project.

ItemDescription
Override default settings for team project <project name> Select the check box to discard the default policy settings within the scope of the current project and re-define the settings by selecting or clearing the corresponding check boxes below.
  • Evaluate Team Explorer policies: select this check box to have the Microsoft Team Explorer policy definitions installed and executed on the client machine.
  • Evaluate Teamprise policies: select this check box to have the Teamprise policy definitions installed and executed on the client machine.
  • Warn about not installed policies: select this check box to have warnings displayed in case the specified policy definition is not installed.

See Also

Last modified: 17 July 2017