Welcome to EMC Consulting Blogs Sign in | Join | Help

Howard van Rooijen's EMC Consulting Blog (2004 - 2010)

This blog has now moved to http://howard.vanrooijen.co.uk/blog - please update your subscriptions if you wish to receive new content.

StyleCop for ReSharper v0.0.14197 Released

Update: StyleCop for ReSharper is now feature complete

A number of people reported a few issues with the last release of StyleCop for ReSharper - firstly users were experiencing some performance issues and also some said that Visual Studio would report package load errors (this was due to the way we were trying to resolve assemblies and how the current AppDomain is hosted within Visual Studio) - thankfully the latest addition to the StyleCop for ReSharper Team, Remo Gloor, quickly submitted a patch.

This release also has some new features – for example new QuickFixes for StyleCop violations SA1208, SA1209, SA1210, SA1211 and SA1633 and also a new StyleCop setting has been added to the StyleCop ReSharper Options section. This new control allows you to specify how aggressive you want the analysis to be – and can configure it between Real Time and Delayed:

stylecop_performance_options

New Features:

  • Add QuickFixes for SA1208, SA1209, SA1210 and SA1211. They qualify all namespaces, then order them, group them and remove duplicates. (Andy Reeves)
  • Add QuickFix for SA1633, which inserts a standard StyleCop File Header into the current code file. (Howard van Rooijen)
  • Add new Performance Setting to the “StyleCop Options” section of the ReSharper Options pages. This slider allows you to select “more resources” (i.e. real time analysis) or “less resources” which ensures that analysis of source files only happens every couple of seconds. (Howard van Rooijen)
  • Fix for issue where opening XML files are causing NullReferenceException because R# resolves the filepath to be {_RESHARPER_DummyWebPages_}. (Howard van Rooijen)
  • Better detection of StyleCop Assembly. (Howard van Rooijen / Remo Gloor)
  • Better resolution of settings.STYLECOP file based on this description. (Colin Nash)
  • Added some addiotional null checking, around line parsing to handle the situation when looping through tokens, one might be null. (Howard van Rooijen)
  • Added some additional checking in GetTextRange to solve NullReferenceException when entering block comment on first line. (Colin Nash)
  • Added some checking to ensure the highlight ranges endpoint is valid. (Colin Nash)

Bug Fixes

  • Added fix for issue #19530 (More accurate highlighting of errors in xml header). (Remo Gloor)
  • Added fix for issue #19505 (Plugin works too slow). (Howard van Rooijen)
  • Added fix for issue #19501 (Package Load Failure after installing StyleCop). (Remo Gloor / Colin Nash / Howard van Rooijen)
  • Added fix for issue #19468 (Installation crash VS 2008 SP1). (Remo Gloor / Colin Nash / Howard van Rooijen)
  • Added fix for issue #19441 (Dangerous AssemblyResolve implementation causes VS.NET not beeing able to resolve other assemblies than StyleCop) (Remo Gloor / Colin Nash / Howard van Rooijen)
  • Added fix for issue #18787 (Could not load file or assembly 'Microsoft.StyleCop, ...') (Remo Gloor / Colin Nash / Howard van Rooijen)
  • Added fix for issue #19597 (Starting a block comment at the top of a file causes unhandled NullReferenceException.) (Colin Nash)
Published 15 November 2008 12:22 by howard.vanrooijen
Filed under: , ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Howard van Rooijen's Blog said:

[ Update : A newer version has been released ] It's been a while since I published StyleCop for ReSharper

November 17, 2008 13:29
 

Howard van Rooijen's Blog said:

A huge amount of work has been done over the last month since the previous release . We've added a new

December 7, 2008 19:34

Leave a Comment

(required) 
(optional)
(required) 
Submit

This Blog

Syndication

News

This blog has now moved - please visit http://howard.vanrooijen.co.uk/blog for new content!
Add to Live.com
Powered by Community Server (Personal Edition), by Telligent Systems