WebStorm 9.0.0 Web Help

File | Settings | Version Control | TFS

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

Item Description
Team Project From this drop-down list, select the name of the project to specify the policies for.
Policy Type This read-only field shows the available policies.
Description This read-only field shows brief descriptions of policies.
Enabled When this check box is selected, the policy next to it is mandatory during check-in.
Add Click this button to open the Add Check-in Policy dialog box where you can define a new check-in policy.
Edit Click this button to open the Edit Check-in Policy dialog box where you can re-define the selected check-in policy.
Remove Click 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.

Item Description
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

Concepts:

Procedures:

Reference:

Web Resources: