SubMain - CodeIt.Right The First Time!

/Community

Support Community for SubMain Products
 Home Products Services Download Purchase Support
in Search
 
Home Forums Blogs Tutorials/CIR Tutorials/GD Downloads
Welcome to SubMain Community Sign in | Join | Help

Tutorials

CodeIt.Right Check-In Policy Integration

Using the Enterprise edition, CodeIt.Right integrates seamlessly into your Source Control procedures, letting you scan files, highlight issues or violations, and fix them before check-in.  Because you can test the code against any configured profile, you can be sure that it conforms to the team’s requirements before it’s allowed to be checked in. 

Configuration

First, select Team Project Settings –> Source Control… from the Team Explorer menu.

Snap1

 

The Source Control Settings dialog will appear.  Select the Check-in Policy tab and then click the Add button.

Snap2

 

When the list of available Check-in policies appears, select CodeIt.Right, then click OK.  (CodeIt.Right will register itself in Visual Studio when you install it.)

Snap3

 

The next dialog to appear will display all of your saved CodeIt.Right profiles.  This will include the built-in profiles together with any profiles you have created.

Snap5

 

Select the profile you want to have applied to this code before Check-in, then click OK.  Note that at this stage, you have the option to create a new profile or edit an existing one by using the buttons in that dialog. 

Usage

When you check-in your code, the Source Control Settings dialog shown below will appear.   This highlights the requirement for CodeIt.Right to be run before Check-in is allowed.  Note that again there are options to add, edit, remove, or disable this requirement.

Snap6

 

When you click OK to proceed, CodeIt.Right profile options will be displayed, allowing you to select a profile to apply.

Snap7

 

Once the profile has been selected, click OK to display the Check in – Source Files dialog.  Then, select the file(s) to be checked and click the Check In button. 

Snap8

 

CodeIt.Right will then run in the background, validating the code.  If violations are found, a warning message will be displayed.

Snap9

 

Double click on the description and CodeIt.Right will display a message that tells you that the violations list is ready to view.

Snap90

 

Click on the OK button to dismiss the dialog and bring the CodeIt.Right crdata file into view.  You can then fix the issues shown in the violations list, using the many options and features of CodeIt.Right.  Once the issues have been fixed, repeat the check-in procedure to check-in the corrected code file.

This useful feature of the CodeIt.Right Enterprise Edition will help keep your team on track and ensure that only code that meets your required standards is allowed to be checked in.

Published Thursday, April 11, 2013 5:35 PM by xtab

Comments

No Comments
Anonymous comments are disabled
    
 
     
 
Home |  Products |  Services |  Download |  Purchase |  Support |  Community |  About Us |