IntelliJ IDEA 2017.3 Help

Edit Check-in Policies Dialog

File | Settings | Version Control | TFS for Windows and Linux
IntelliJ IDEA | Preferences | Version Control | TFS for macOS

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 IntelliJ IDEA. 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 IntelliJ IDEA-wide policies for the project, if necessary.

In this section:

Check-in Policies

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 checkbox 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.


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

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

See Also