SubMain - CodeIt.Right The First Time!


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

SubMain Blog

  • CodeIt.Right v2.0 Beta is available as part of the VS11 Beta Bundle

    As part of the Visual Studio Industry Partner (VSIP) program we have released VS11 Beta compatible version of CodeIt.Right on the ComponentSource website that hosts VS11 Beta Bundle products. And we are very proud that our flagship product is one of the very first VS11 compatible products available as part of the VS11 Beta Bundle on the day of VS11 Beta launch – February 29, 2012!

    Please follow the instructions below to receive the virtual bundle of CodeIt.Right and Visual Studio 11 Beta:

    1. Go to the Visual Studio 11 Beta download site to get the newest version of Visual Studio
    2. After installing Visual Studio 11 Beta, download CodeIt.Right unpack the zip file and run the installer


  • CodeIt.Right v2.0 Beta Available Now!

    The BETA for CodeIt.Right has arrived and this is our new major version of the code quality product:

    • cir_20_ir_2Instant Code Review feature – get code quality feedback as you code and refactor on the spot!
    • Visual Studio 11 support
    • Multiple categories for a rule
    • Multi-select in Violations Report
    • XAML Parser
    • 8 new Silverlight/WPF/XAML rules
    • 27 new ASP.NET/Security rules
    • Profile Editor - filter for selected/unselected rules
    • Option to require exclude comments
    • and more

    Focus on coding – we will help you with quality

    If you love the CodeIt.Right code quality rules and auto-corrections but want an immediate feedback as you code, the new Instant Code Review feature is for you!

    Instant Review allows to run select set of rules in the background and get real-time code issues feedback to developers in the Visual Studio Editor. The feature highlights code elements that raised violation in the editor and shows complete list of file code issues in the right violations bar (next to the scrollbar). Violation detail window explains the nature of the issue, offers auto-refactoring options and option to ignore (exclude) the violation. The feature can be turned on/off with a single click, supports multiple user configurable profiles that can be switched in the toolbar or right margin violations bar context menu.

    cir_20_multiselectIs that it?

    CodeIt.Right v2.0 has many more features and improvements. For detailed list please see What’s New in CodeIt.Right v2.0

    How do I try it?

    Download the BETA at 

    Where do I post feedback?

    Please post your v2.0 Beta feedback in the CodeIt.Right v2.0 Beta forum

    Note to current Standard Edition users – in version 2.0 we have added "Standard" edition name to all folder locations (Program Files, My Documents, etc) and registry keys. When you install v2.0 Beta you will need to copy your custom profiles and rules into the new folders.

    Note to all Beta users: Even though CodeIt.Right v2.0 Beta is stable it's Beta nevertheless. Proceed with care.

  • Retiring PrettyCode.Print and StudioTools; CodeSpell to be merged into GhostDoc Pro

    PrettyCode.Print and StudioTools no longer fit our strategic corporate direction to deliver best code quality tools on the market. 

    Discontinuing these products enables us to reinvest the efforts into our flagship products and offer even better code quality tools. We will be releasing new greatly enhanced versions of our existing products as well as new products over the next six months. For a sneak peek of what’s coming please see our Product Feedback board.

    PrettyCode.Print for VB6/VBA and PrettyCode.Print for .NET will no longer be further developed. Both products will be converted into a free download in their current state. While we will continue to offer technical support for PrettyCode.Print products for six more month from now, there will be no enhancements, improvements nor bug fixes for these two products.  You can download PrettyCode.Print for VB6/VBA and PrettyCode.Print for .NET in the Community Downloads section.

    CodeIt.Once is retired and no longer available for download. We encourage you to learn about CodeIt.Right product which offers automated refactorings and proactively finds the opportunities for refactoring and improving your code.

    StudioTools is retired and will no longer be offered for download or supported.

    CodeSpell will not be available for purchase for approximately 6 months. The CodeSpell engine is being rewritten to allow greater flexibility and better features, after which, the code spelling feature will be offered as part of our GhostDoc Pro product. All customers that purchased CodeSpell from SubMain (after March 9th, 2010) will be offered, at no charge, the equivalent number of licenses for GhostDoc Pro once the code spelling feature is released.

    We sincerely appreciate your continued support and look forward to working with you in the future.

  • Released: TestMatrix v3.1.11190


    We released TestMatrix v3.1 which adds support for xUnit testing framework, code editor Smart Tags, better VS2010 integration, command line version enhancements and other improvements.

    What's new in TestMatrix v3.1:

    • Added support for xUnit testing framework TestMatrix_SmartTag
    • Added code editor Smart Tags to run/debug test or group of tests
    • Added test result "paintings" in VS2010 editor which were omitted in the first VS2010 compatible release and now they are back.
    • Added a "No Coverage" warning in the command line version against project/solution with configuration set to Release
    • Added Status message to display test execution status - current test name, current test number and total number of tests - "Running test N of NN (<test name>)"
    • Implemented a number of Test Results Window enhancements
    • TestMatrix now uses currently selected in Visual Studio build configuration including CPU
    • Added "Don't show this again" checkbox to the "Are you sure?" dialog when stopping test execution
    • Fixed - TestMatrix was ignoring TestCaseData objects with names assigned
    • Improved support for TestFixtureSetUp
    • Implemented correct TestContext handling within MsTest unit test execution
    • Added command line parameter /failThreshold to stop a build (return error code) if number of failed tests is higher than the threshold
    • Added command line parameter /configuration to specify build configuration, for example, "Debug|AnyCPU"
    • Changed Options file format from binary to XML
    • Added offline license activation option for users behind strict firewalls
    • Added option to request product trial extension

    TestMatrix build 3.1.11190 is available for download at

    Note to current users, due to the introduction of offline license activation mechanism your v3.0 will need to be re-activated. This is done simply by re-entering your registration details in the "Enter License Key..." menu.

    Version 3.1 is a free update for all TestMatrix v3.0 users. Users with v2.x licenses are eligible for upgrade price of $99 per license. Please contact with your license information for the upgrade details.

  • Holiday Offer: Complimentary Software Assurance and Licence Protection + Save up to 30%!

    Holiday Offer

    SubMain is proud to spread the holiday cheer by offering customers best savings of the year with free 1 year of Software Assurance and Support, free lifetime License Protection and great savings on multiple license purchases.

    Get Software Assurance and Support absolutely free!

    From now until January 7, purchase any new CodeIt.Right licenses and receive 1 year of Software Assurance and Support subscription at no additional cost. Normally priced at $100 per user ($150 per user for Enterprise Edition), Software Assurance annual subscription plan is the most cost effective and convenient way to stay current with the latest versions of our products and get priority support when you need it.

    Plus free License Protection!

    If you purchase just released GhostDoc Pro, you will receive free License Protection and secure GhostDoc Pro updates and new versions at no charge for the product lifetime.

    GhostDoc Pro Edition is enhanced version of the product that gives users complete control over your XML Comment content and layout as well as automates XML Comment generation via batch actions.

    Get it today! No hurdles! No hoops!

    It is easy to get your free software assurance subscription and license protection. Just place your order on the SubMain website by January 7, and we will automatically give you the free year of software assurance and support subscription. If your purchase includes GhostDoc, you will automatically receive lifetime license protection for free too. No hassle. No headaches.

    But wait, there is more!

    On the top of the free offers above, you can save even more when you buy multiple CodeIt.Right licenses:

    • Save 20% on CodeIt.Right Standard Edition 5 license pack

    • Save 30% on CodeIt.Right Enterprise Edition 10 license pack

    Email us at for information on the the 5 and 10 pack discounts.

    Need more info about SubMain products?

    Learn more about SubMain products

    Ready to get your holiday bonus?

    Buy now for the holiday offer

    Still have questions?

    No problem! Contact the SubMain sales department via email

  • Released: GhostDoc and GhostDoc Pro v3.0.10340

    Today we are announcing the release of GhostDoc v3.0 - a new major release of the product. This version includes product usability and menu changes, adds many new features - menus, configuration rules, configuration options. It also features new error logging to improve troubleshooting of GhostDoc issues. The new version introduces GhostDoc Pro Edition - enhanced version of the product that gives users complete control over your XML Comment content and layout as well as automates XML Comment generation via batch actions.

    For Edition comparison please see GhostDoc product page -

    GhostDoc Pro

    New in v3.0:

    • (Pro Only) New Document Type feature - generates XML comments for the entire type/class
    • (Pro Only) New Document File feature - generates XML comments for the entire file
    • (Pro Only) Introduced T4 template based rules that replace rule macros of the Free version
    • Improved support for VS2010
    • New Load/Unload menu items allow to disable GhostDoc temporary without uninstalling it
    • New Help menu item
    • New option to and menu to Re-assign Shortcut
    • Added Rule for read-only property to turn off generation of the tag line
    • Added Rule for private constructor
    • Added support for new tags - <inheritdoc>, <author> and <remarks>
    • Added support for enums, delegates and fields
    • Added option to modify Configuration Folder path
    • Added option to Keep Single Line when for long comments
    • Changed leading tabs to leading spaces for compatibility with other products
    • Changed "gets or sets" summary prefix to just "Gets" when setter is private
    • Fixed automatically implemented properties issue 

    GhostDoc and GhostDoc Pro build 3.0.10340 are available for download right now at

    Please note GhostDoc EULA was updated to reflect the introduction of GhostDoc Pro.


  • Released: TestMatrix v3.0.10299

    We are happy to announce the release of TestMatrix v3.0 - new major version focused on product stability and performance improvements, full VS2010 and .NET 4.0 support, command line version and the latest versions of unit testing frameworks!

    TestMatrix New in v3.0:
    • Improved support for VS2010
    • Added support for .NET Framework 4.0
    • Enabled Command Line version for Continuous Integration/Automated Build process
    • Updated to support the latest versions of unit testing frameworks - NUnit 2.5.x, MbUnit 2.4, csUnit 2.6, MS Test
    • Added Test Groups in Test Explorer - create your own groups of tests you want to run
    • Added clarity in Code Coverage feature requiring running VS as Admin
    • Improved warning and info messages for clarity
    • Improved Test Results window - better visual progress and results reporting
    • Changed logging to standard SubMain, resolves large log file issue and problems when running multiple instances of VS
    • Options dialog - completely redesigned, removed SharedServices options from Tools->Options
    • "Load/Unload" menu in Visual Studio - allows to enable/disable the extension
    • Added Create/Rename/Delete Test Groups in Test Explorer
    • Completely new and improved setup
    • Log file location changed to My Documents folder (standard for SubMain products)
    • Modified TestMatrix tool windows to be VSIP compliant to for improved stability
    • License code schema is changed to SubMain standard, will simplify distribution and maintenance of the license codes
    • Out of range error in solutions with over 5000 unit tests
    • many reported issues
    TestMatrix build 3.0.10299 is available for download right now.

    Please note, we have changed licensing schema in v3.0 and your v2.x license codes will not work with this new build.

    This new version is free update for users who purchased TestMatrix from SubMain (after March 9, 2010). We will be sending out new licenses shortly. If you require the license immediately, please contact us at

    Orders prior to March 9, 2010 are eligible for upgrade price of $99 per license. Contact with your license information for the upgrade details.

  • Update: CodeIt.Right v1.9.10111 and New Setup for TestMatrix

    We published two updates this morning:
    • CodeIt.Right v1.9.10111 - both Standard and Enterprise editions. This is a minor update, primarily bug fixes. Not a required update unless you are experiencing some rule issues or unhandled errors this update might fix.
    • New setup for TestMatrix - we have created a brand new setup for TestMatrix to replace the often confusing "silent" version. New setup experience is very much the same as all our other products. Version hasn't of the product hasn't changed.

  • Community: CodeIt.Right and CruiseControl.NET; File Header Template for StyleCop

    We are added 2 new community contributions to our Tutorials page.

    Paulo Morgado posted a great template for CodeIt.Right Code File Header correction action that automatically generates file header compliant with StyleCop Rules. You can find the template source in Paulo's blog post CodeIt.Right Code File Header Template For StyleCop Rules

    Craig Sutherland has done a great job integrating CodeIt.Right with CruiseControl.NET.

    Here is CodeIt.Right violations report in CC.NET - great to see Craig took advantage of the Severity Threshold feature and implemented filtering to reduce "noise" in the report very much like we have it in CodeIt.Right:


    CC.NET CodeIt.Right Analysis Summary report screenshot:


    Thank you, Paulo and Craig! Great work!

  • SubMain acquires Exact Magic's TestMatrix, CodeSpell and StudioTools

    As announced earlier today we just closed the acquisition of the popular unti testing and code coverage product TestMatrix, as well as CodeSpell and StudioTools. We, SubMain, will continue to maintain and enhance these products.

    TestMatrix adds support for unit testing, code coverage analysis, and test profiling to Visual Studio, seamlessly incorporating these critical development practices directly into the coding process itself; CodeSpell adds real-time, intelligent detection and correction of misspellings to Visual Studio; and StudioTools is a rich collection of Visual Studio enhancements.

    We are also announcing today the availability of the new version for all three products - TestMatrix, CodeSpell and StudioTools - v2.1.10055 which adds support for Visual Studio 2010 RC.

    We are very excited about taking over the future of such great products! TestMatrix complements CodeIt.Right into a Code Quality Suite which will be be complete with the addition of the new product codenamed Project Anelare in the next few months.

    For more on the agreement, please see the press release.

  • Released: CodeIt.Right v1.9.10053

    Today we released update for CodeIt.Right Standard and Enterprise Editions - v1.9.10053. As part of our 2010 Product Roadmap, this version changes include significantly improved performance, support for GlobalSuppressions, new rules and bug fixes.

    New in CodeIt.Right v1.9.10053:

    • Major performance improvements throughout the rule base
    • Added support for GlobalSuppressions - syntax is the same as the VSTS GlobalSuppressions file. This new feature is supported in both Standard and Enterprise editions.
    • SuppressMessage attribute for class now applied to all member of the class (see example at the bottom of the post)
    • New Rules:
      • Avoid the Page.DataBind method (AspNet)
      • Avoid the DataBinder.Eval method (AspNet)
      • Do not use SaveAs method to store uploaded files (AspNet)
      • Always define a global error handler (AspNet)
      • Do not disable custom errors (AspNet)
      • Avoid setting the AutoPostBack property to True (AspNet)
      • Interface methods should be callable by child types (Design)
      • Remove unused parameters (Usage)
    • Corrected download redirect link in the Enterprise Edition when new version is available. In the past versions it would incorrectly open the Standard Edition download page
    • Fixed Encapsulate Field refactoring issue
    • Other fixes for the reported issues

    The following code sample on how class level SuppressMessage attribute excludes TypesAndMembersShouldHaveXmlComments rule for the class and all its members (bullet #3 above):

    [SuppressMessage("SubMain.CodeItRight.Rules.General", "GE00005:TypesAndMembersShouldHaveXmlComments")]
    public class MyUndocumentedClass
        public void MyUndocumentedMethod1{}
        public void MyUndocumentedMethod2{}

    This update is free for all users who are current on their Software Assurance and Support Subscription


  • 2010 Product Roadmap


    Code Quality developer tools is the direction we've been following since the introduction of CodeIt.Right and we are taking this commitment to the next level in 2010 with two new products and new features for our existing products.  One of the new products to be released in 2010 will assist in unit testing, code coverage and test code profiling; the second new product will be complementary to CodeIt.Right.  All three products together will comprise our new Code Quality Suite.  Additionally, we will continue to keep up with the Visual Studio 2010 release schedule and have all of our products 2010 compatible when VS2010 is RTM.

    Here is what we are planning for 2010:

    • New product!

      • Coming March 2010:  we are adding to our product line by offering a unit test runner and code coverage product.

    • New product!

      • Project Anelare (code name) - we will provide details on this project as we get closer to a public preview.  At this point we can share that this will be product complementary to CodeIt.Right - together they will encompass our code quality package.

    • VS2010 support

      • For all products - most of our products are compatible with VS2010 RC, and we will be VS2010 RTM compatible by the time it RTMs.

    • CodeIt.Right

      • Optimized rule library performance:  the new version will be released the first week in March!

      • Community Rule Valuation & Review: we are pioneering "social" in code analysis by enabling the community to rate rules and provide feedback; as well as leverage the community feedback, best uses and best practices for each rule.

      • NEW Rules - with emphasis on security, FxCop/StyleCop parity, SharePoint, WPF & Silverlight rules.

      • (EE) Trend Analysis: monitor code quality improvements over time.

      • (EE) Integration with manual code review tools.

      • Global Suppressions:  adding support for GlobalSuppressions and extending syntax of the SuppressMessage attribute for more flexible in-code exclusions.

      • Multi-select in the violations list.

      • Copy Rule feature:  clone and change rule instance configuration

      • Command line enhancements: open command line/build violations output in Visual Studio for correction

      • Annotation: for excludes and corrections

      • XAML support:  enables building Silverlight and WPF specific rules

      • Profile Wizard:  quick start no-brainer user/project profile based on the project type, importance, community valuation, favorite food, etc

    • GhostDoc

      • We are currently prioritizing the feature set for the new version of GhostDoc. If you have a feature request that you have not submitted yet, share them with us in the GhostDoc forum.

    Stay tuned to our blog for more details about our progress!

  • Released: CodeIt.Right Enterprise v1.9.09355

    New version of CodeIt.Right Enterprise Edition - build 1.9.09355 - is available for download now.

    This version introduces new feature Merge Profiles that allows to compare and merge user configured profiles, enhances VSTS integration with the new "Add WorkItem" feature, adds command line version parameters and ability to load/unload CodeIt.Right in the menu and Add-In Manager.


    This update is free for all users who are current on their Software Assurance and Gold Support Subscription

    New in CodeIt.Right Enterprise v1.9:

    • New Merge Profiles feature allows to compare and merge user configured profiles
    • New "Add WorkItem" feature - create TFS WorkItem from a violation 
    • Added /metrics parameter to the command line utility to generate XML output for three metrics reports – "Member", "Type" and "Code"
    • Added /sendto parameter to the command line utility - send the violation/metrics output via email
    • CodeIt.Right can now be loaded/unloaded in the menu and Add-In Manager
    • Build server setup doesn't require Visual Studio on the build machine anymore 
    • "Built-in profile" option now is not selectable in the Analysis Module when one or more custom profiles deployed via Team Configuration Module
    • New Rules:
      • Specify CultureInfo (Globalization)
      • Specify IFormatProvider (Globalization)
      • Specify StringComparison (Globalization)
      • Avoid excessive complexity (Maintainability)
      • Avoid excessive inheritance (Maintainability)
      • Do not use deprecated properties of Response object (AspNet)
    • Fixed a number of bugs in the application and the rules...
  • 5+1=3 or 10+1=6 Promotion - Save up to 50%!

    For two weeks - December 15 to December 29th - we are running the best volume license promotion we have had to date! This promotion is aimed at small and medium businesses.


    6 Standard Edition licenses for the price of 3:

    5 user licenses
    1 server license
    1 Year maintenance subscription

    = $1050
    Buy Now! Learn More »
    11 Enterprise Edition licenses for the price of 6:

    10 user licenses
    1 server license
    1 Year maintenance subscription

    = $4500
    Buy Now! Learn More »


    Hurry and save money - this offer will not last long!

    This offer is only valid until December 29th.

  • Released: CodeIt.Right version 1.8.09300 - now compatible with VS2010 Beta 2!

    Today we are releasing new version of CodeIt.Right - build 1.8.09300.

    This version features complete ASP.NET support, it is compatible with VS2010 Beta 2 (in addition to VS2008, VS2005, VS2003), Add Rule dialog improvements - "Hide Rules in the Profile" and "Quick Search", 10+ new rules including new category "CodingStyle".

    Those of you who are using CodeIt.Right with very large solutions may know of the memory limitation issue for the tools that live in the Visual Studio address space, aka "Out of Memory" exceptions. You will be excited to know we have addressed the issue in this version by introducing new "Memory Optimization" mode. The "Performance mode" is still on by default since it offers a little faster analysis but CodeIt.Right will offer to switch to the "Memory Optimization" option when you open a large solution or get the dreaded "Out of Memory" exception. You also are free to switch between the options manually.

    Another change we made - we removed Sealed modifier for all built-in rules. This gives you even easier way to extend and customize existing rules by simply overriding just the methods you wanted changed. Over the next couple of weeks we will be adding a tutorial on how to do that. Ping us if you want this sooner.

    This update is free for all users who are current on their Software Assurance and Gold Support Subscription

    New in CodeIt.Right v1.8:

    • Now compatible with VS2010 Beta 2, VS2008, VS2005 and VS2003
    • Finally complete ASP.NET support including refactorings in HTML markup.
    • Added Memory Optimization mode – allows to minimize the memory use at slightly lower reduces performance. This allows to solve the “Out of Memory” issue on large solutions.
    • Added Performance tab to the Options window – Best Performance/Memory Optimization.
    • Added new Exclude tab and moved all exclude tabs there
    • All Exclude tabs now support multi-select
    • New option to Exclude a Project
    • Added new “Add” button in Exclude Rule, Exclude File and Exclude Project tabs – the dialogs support multi-select.
    • Profile Editor -> Add Rule dialog has new option Hide Rules in the Profile which removes from the selection the rules that already exist in the selected profile.
    • Profile Editor -> Add Rule dialog has new Quick Search that filters the list for the rules that contain entered substring
    • Added RuleID to rule help documentation.
    • Product license codes when entered are now activated on the SubMain server.
    • Auto Update wizard now shows Software Assurance & Gold Support subscription expiration date.
    • About window now shows Software Assurance & Gold Support subscription expiration date.
    • All web services – Auto Update, Error Reporting, Statistics and Activation – are now accessed over SSL protected HTTPS connection.
    • Removed Sealed modifier for all built-in rules. This allows for new easier way to extend and customize existing rules by simply overriding specific methods. (Sample is coming)
    • Addressed issues related to incorrect source file encoding when Byte Order Mark (BOM) attribute was missing.
    • New Rules:
      • Abstract class should have at least one derive class (Design)
      • Interface should have at least one implementation (Design)
      • Project should have AssemblyInfo file (Design)
      • Do not place assembly attributes outside of AssemblyInfo file (Design)
      • Do not include multiple statements on a single line (CodingStyle)
      • Avoid single line If statement (CodingStyle)
      • Do not check for empty strings using Equals (Performance)
      • XML Comments should be spelled correctly (Spelling)
      • Avoid non-public fields in ComVisible value types (Interoperability)
      • Avoid static members in ComVisible types (Interoperability)
      • PInvokes should not be visible (Interoperability)
    • Fixed a number of bugs in the application and the rules...


    Download version 1.8.09300 here - 

    Technorati Tags: , , , , ,

Home |  Products |  Services |  Download |  Purchase |  Support |  Community |  About Us |