advanced web statistics

Features I'd Like to See in ReSharper Down the Road

9/10/2007 11:44:33 PM

I am a huge fan of ReSharper and can't see developing without it... EVER!  Why even half of the functionality is not at least included in Visual Studio still eludes me.  With that being said, there are still some features that I would personally like to see down the road.  Hopefully someone from ReSharper will read this (hi!).

  1. Solution-wide removal of redundant .ToString()'s
  2. Solution-wide use of string.Format()'s for concatenation
  3. Solution-wide removal of redundant type-argument specifications

Ok. Thanks!

Redundant Type-Argument Specification Example

[DataColumn("Version", DbType.Binary, Length = 8)]
public virtual byte[] Version
{
   get { return _version; }
   set { SetFieldValue<byte[]>("Version", ref _version, value); }
}

The other two have been even more of a pain for me, especially when working on distributed teams or inheriting a project from a previous developer. I'm a huge fan of string.Format and prefer to use this method of string concatenation. Redundant .ToString()'s, now that is just plain useless!

Update
For those of you that don't use R# the <byte[]> that is greyed out is R#'s way of telling me that the type-argument specification is redundant.  I look at this as "ghosting" unneeded code.

Tools

kick it on DotNetKicks.com

Leave a Comment

   

  Enter the text to proceed!