Home
Products
  CodeIt.Right
  CodeIt.Once for .NET
  PrettyCode.Print for .NET
  PrettyCode.Print
  SmartOutline for VS2005
  .NET Coding Guidelines
Download
Purchase
Support
Contact Us

 Tuesday, July 22, 2008

by Serge Baranovsky

New version of CodeIt.Right is almost out. We have a beta build 1.1.08198 for you today. Please download and give it a try, let us know what works and what doesn't. This is pretty big release that includes .NET 3.5 support, Guidelines document template generation, new command line version parameters and more. Please share your feedback in the forums.

If you get an unhandled error dialog, please enter your email address so we could let you know when we resolved the issue or if we need to contact you for more details in our troubleshooting.

For the .NET 3.5 support we have made major changes to our parsing engine - please report all issues you encounter with the Beta.

Major changes in the v1.1 Beta:

  • Support for .NET 3.5 (C# 3.0 and VB 9.0)
  • New feature - Generate Template in Profile Editor allows to generate guidelines document template based on the profile. Please note the XSL stylesheet only works with IE (not Firefox)
  • Improved Profile Editor layout
  • Added "Rule Info" tab in Profile Editor
  • Pivot View allows to save your custom views (Save As)
  • Updated SDK documentation - now includes most every class, method and property of CodeIt.Right SDK
  • Auto-Update now also includes the latest help file
  • New Options -> General -> Max violations to report (default 1000) to limit to the first N violations reported
  • New Rules:
    1. Do not declare read only mutable reference types (Security)
    2. Seal methods that satisfy private interfaces (Security)
    3. Secure GetObjectData overrides (Security)
    4. Assemblies should declare minimum security (Security)
    5. Override link demands should be identical to base (Security)
    6. Prefix member calls with self (Usage)
    7. Do not prefix calls with Base unless needed (Usage)
  • CodeItRight.Cmd.exe improvements:
    • Added MsBuild and Nant tasks (SubMain.CodeItRight.MSBuild.dll and
      SubMain.CodeItRight.NAntBuild.dll)
    • Fixed /Quiet option
    • Added /OutXSL parameter
    • Added /CRData parameter
    • Improved formatting of the output XML data file
    • Added return error codes
    • Removed key press required in the older version
    • see CodeItRight.Cmd.exe Command Line Options for details
  • many bugs fixed

Download build 1.1.08198 here - http://submain.com/download.aspx?product=codeit.right-beta 

Note: Even though 1.1.08198 is a stable Beta it's Beta nevertheless. Proceed with care.

Technorati Tags: , , , , ,

posted on Tuesday, July 22, 2008 2:31:18 PM (Pacific Standard Time, UTC-08:00)    #    Comments [0]   
 Saturday, April 12, 2008

by Serge Baranovsky

This CodeIt.Right rule update includes fixes as well as 3 new security rules.

New rules:

  • Do not declare read only mutable reference types (Security)
  • Seal methods that satisfy private interfaces (Security)
  • Secure GetObjectData overrides (Security)

These rules are included with the default profile and you will only need to follow the wizard to merge them into your custom profiles.

Fixes:

  • Rule "Do not override operator equals on reference types" incorrectly triggered violation for the "Equals" method. Now this rules only reports violation for the operator "==" override.
  • Fixed "If the type is a generic type, CIR adds the apostrophe-count string to the class name for the deserialization constructor"
  • Fixed "If there is no explicit default parameterless constructor, adding the deserialization constructor causes errors in all derived classes that called the parameterless constructor"

As a reminder, this set of rules is distributed using the Rule AutoUpdate feature which triggers 15 minutes after you start Visual Studio. If you turned the feature off, you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

Technorati Tags: , , , , ,

posted on Saturday, April 12, 2008 11:59:05 AM (Pacific Standard Time, UTC-08:00)    #    Comments [0]   
 Monday, January 28, 2008

by Serge Baranovsky

Another CodeIt.Right rule update. Next stop, release of CodeIt.Right, is targeted at February 1. Yes, that's the end of this week, better hurry to take advantage of the pre-release pricing ;)

New CodeIt.Right rule posted:

  • Use prefix for return type  (Naming)
  • Avoid prefix for return type (Naming)
  • Use prefix for derived type (Naming)
  • Avoid prefix for derived type (Naming)

The four rules above will not be included into the default profile - see How to add rule to User Profile to learn how to add these into your custom profile.

This set of rules is distributed using the Rule AutoUpdate feature added into the Beta 2 of CodeIt.Right. Auto Update triggers in 15 minutes after you start Visual Studio. If you turned the feature off you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

Technorati Tags: , , , , ,

posted on Monday, January 28, 2008 2:57:15 PM (Pacific Standard Time, UTC-08:00)    #    Comments [0]   
 Monday, December 03, 2007

by Serge Baranovsky

New CodeIt.Right rule posted:

  • Externally visible types and members should have XML comments (General)

This rule makes sure all Public and Protected members and types have XML documentation comment.

AutoCorrect option for this rule is 'Add XML comment template' which will add

(for VB)

    ''' <summary>
    '''     
    ''' </summary>
    ''' <value>
    '''     <para>
    '''         
    '''     </para>
    ''' </value>
    ''' <remarks>
    '''     
    ''' </remarks>

(for C#)

    /// <summary>
    ///     
    /// </summary>
    /// <value>
    ///     <para>
    ///         
    ///     </para>
    /// </value>
    /// <remarks>
    ///     
    /// </remarks>

(actual content of the template will depend of the code element the XML template are being added to).

This set of rules is distributed using the Rule AutoUpdate feature added into the Beta 2 of CodeIt.Right. Auto Update triggers in 15 minutes after you start Visual Studio. If you turned the feature off you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

Don't forget to leave your feedback in the CodeIt.Right forum http://community.submain.com/forums/4/ShowForum.aspx

(Note: if you skip the custom profile update step in the Rules Update Wizard, you still can add new rules to your custom profile(s) using the Add Rule button in the Profile Editor - you will find recent rules by sorting the date column)

Technorati Tags: , , , , ,

posted on Monday, December 03, 2007 2:26:36 AM (Pacific Standard Time, UTC-08:00)    #    Comments [0]   
 Wednesday, October 17, 2007

by Serge Baranovsky

New set of CodeIt.Right rules:

  • Avoid unsealed attributes (Performance)
  • COM visible types should be creatable (Interoperability)
  • Pointers should not be visible (Security)
  • Remove empty finalizers (Performance)

(All of the new rules above offer AutoCorrect options)

This set of rules is distributed using the Rule AutoUpdate feature added into the Beta 2 of CodeIt.Right. Auto Update triggers in 15 minutes after you start Visual Studio. If you turned the feature off you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

Another set of rules will be distributed with new build of CodeIt.Right next week as some of them require updated version of the SDK.

Please leave your feedback how much you like/dislike the AutoUpdate feature, your suggestions - in the CodeIt.Right forum http://community.submain.com/forums/4/ShowForum.aspx

(Note: if you skip the custom profile update step in the Rules Update Wizard, you still can add new rules to your custom profile(s) using the Add Rule button in the Profile Editor - you will find recent rules by sorting the date column)

For more information on CodeIt.Right, getting started presentation, support and feedback see Beta 1 announce post.

Technorati Tags: , , , , ,

posted on Wednesday, October 17, 2007 12:59:59 AM (Pacific Standard Time, UTC-08:00)    #    Comments [0]   
 Monday, October 08, 2007

by Serge Baranovsky

We published new CodeIt.Right rules:

  • Mark assemblies with assembly version (Design)
  • Mark assemblies with CLSCompliant (Design)
  • Mark assemblies with ComVisible (Design)
  • Remove unused locals (Performance)

(All of the new rules above offer AutoCorrect options)

This is the first set of rules that we distribute using the Rule AutoUpdate feature recently added into the Beta 2 of CodeIt.Right. Auto Update triggers in 15 minutes after you start Visual Studio. If you turned the feature off you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

The AutoUpdate feature is brand new - please leave your feedback how much you like/dislike it, what steps are not intuitive, what would you improve - in the CodeIt.Right forum http://community.submain.com/forums/4/ShowForum.aspx

(Note: if you skip the custom profile update step in the Rules Update Wizard, you still can add new rules to your custom profile(s) using the Add Rule button in the Profile Editor - you will find recent rules by sorting the date column)

For more information on CodeIt.Right, getting started presentation, support and feedback see Beta 1 announce post.

Technorati Tags: , , , , ,

posted on Monday, October 08, 2007 4:17:36 PM (Pacific Standard Time, UTC-08:00)    #    Comments [0]