As you may know yesterday Microsoft
released VS2010 Beta 1 to MSDN Subscribers. The Beta will also be publicly available
for the rest of the world on Wednesday. This is long expected and very exciting new
version of Visual Studio; and we here at SubMain are fully prepared to support the
new shiny version!
While some companies make a big deal posting screenshots of the upcoming VS2010 versions
and announcing availability of previews for their products within a month,
we at SubMain have been working hard to give our customers a new fully VS2010 compatible
version on the day of VS2010 Beta 1 release!
So ... today, within the 24 hours of the VS2010 Beta 1 availability, you can download
new version of CodeIt.Right that runs in VS2010 (as well as VS2008, VS2005, VS2003)
and fully understands the syntax changes in C# 4.0 and VB10! This is just of the many
new features that come with this release - you can see the long list below.
Another great feature added in this version is the template based rules. We currently
support T4 templates. The template based rules are simpler and more flexible
alternative to writing custom rules using CodeIt.Right
SDK.
Over the next couple of weeks we will be adding a tutorial on how to use and customize
T4 templates in CodeIt.Right. Ping us if
you want this sooner.
Give it a shot and let us know what
you think!
This
update is free for all users who are current on their Software
Assurance and Gold Support Subscription
New in CodeIt.Right v1.6:
-
Compatible with VS2010
-
C# 4.0 and VB10 syntax support
-
Automatically Implemented Properties (VB.NET)
-
Generic Variance (VB.NET)
-
Multi-line lambda expressions that can contain statements (VB.NET)
-
Implicit line continuation (VB.NET)
-
Dynamic lookup (C#) - (the "dynamic" type)
-
Named and Optional parameters (C#)
-
Covariance and contravariance (C#)
-
Added T4 template based rules
-
Profile Editor supports editing and validation of T4 templates
-
Rule "Externally visible types and members should have XML comments" has been rewritten
as a template based rule and is customizable now
-
Added Global Properties tab in Options - user configured properties to be used with
the T4 templates
-
Spell-checking rules
-
significantly improved performance, now suggested spellings lookup is only performed
when the the Correction Options dropdown is clicked
-
Spell-checking rules - improved performance when use a secondary (non-English) dictionary
-
Spell-checking rules - renamed en_US.usr to complang.usr
-
Further improved ASP.NET support - rename refactoring now also corrects the ASP.NET
page HTML markup server tag IDs and attributes
-
Context menus Check All, Clear All and Correct Checked are now context specific when
clicked on file or project lines in the violations list
-
Improved performance for Check All, Clear All, Exclude Rule and Exclude File
-
Analyze Project and Analyze File context menus in the violations list, see
forum post
-
Analyze Folder and Analyze Project context menus in the Solution Explorer
-
Synchronization of the file selected in the Solution Explorer with the violations
list
-
About dialog - added subscription expiration date
-
Added "Don't show this exception again" checkbox to the unhandled exceptions dialog
-
Default Encapsulate Field correction for rules "Do not declare externally visible
instance fields" and "Secured types should not expose fields" changed from "Create
new property and update all references where the field is use" to "Rename the field,
create new property with the original field name and do not update the field references"
(for the public name has not changed), see
forum post
-
Added new property ExcludeList to all Naming rules, see
forum post
-
Added new RuleTargets - Solution, Project, File
-
New Rules:
-
Use constants where appropriate (Performance)
-
Remove unused internal classes (Performance)
-
Do not initialize unnecessarily (Performance)
-
Source file name should be Pascal cased (General)
-
Source file should contain only one public type (General)
-
Source file name should match public type name (General)
-
Enable Treat Compiler Warnings As Errors option (General)
-
Enforce Warning Level 4 (General)
-
Source file should have a header (General) - a T4 template based rule
-
more bug fixes
Known issues
We are releasing the product with one known issue this time for it is very minor.
-
Under VS2010 Beta 1 CodeIt.Right rule documentation links, like "More", "Tell me more..."
don't work. This feature depends on the Visual Studio offline help module which was
not shipped with VS2010 Beta 1. The rule documentation help work fine in VS2008, VS2005
and VS2003.
Download
Download version 1.6.09139 here - http://submain.com/download/codeit.right
Technorati Tags: CodeIt.Right, Coding
Guidelines, Naming
Conventions, Best
Practices, .NET, NET