16
Vote

Update hangs on "using" statements

description

If you use "using" statements inside the namespace declaration the SO windows hangs with "Updating, please wait...".
This simple code fails:
 
namespace TestSO
{
using System;
 
public class Class1
{
}
}
 
Moving the using statments outside the namespace "fixes" it.

comments

RvanPoelgeest wrote Feb 2, 2008 at 1:56 PM

Can someone please modify the Impact to medium even though the workaround is easy to implement this would mean having to modify a lot of source files!

wrote Feb 12, 2008 at 6:25 PM

jdewey wrote Feb 12, 2008 at 6:26 PM

I second that. Our team coding standard requires the using statements to be inside the namespace, so until this is fixed I cannot use it.

wrote Mar 9, 2008 at 1:37 AM

wrote Apr 23, 2008 at 12:15 PM

pshaffer wrote Apr 23, 2008 at 12:19 PM

I don't know how this could be marked as anything other than high. When this situation occurs, the power toy is simply unusable. That sounds like a "high" to me. It most commonly occurs on designer generated code, so even the relatively simple work-around of moving the using statements outside the namespace declaration isn't an option. Unusable plus no (useable) work-around doesn't justify the current impact status of "low".

wrote May 1, 2008 at 2:24 AM

wrote Jun 20, 2008 at 9:16 PM

wrote Jul 8, 2008 at 11:56 AM

wrote Sep 9, 2008 at 12:40 PM

wrote Apr 17, 2009 at 10:27 PM

Moskie wrote Apr 17, 2009 at 10:32 PM

Just got this plugin for 2008, used it a lot in 2005. I'm in the same boat as mentioned above: our new coding standards in our 2008 project require the using statements be set up in the way that breaks Source Outliner.

wrote Jun 5, 2009 at 2:15 PM

wrote Aug 29, 2009 at 9:42 AM

wrote Sep 19, 2009 at 2:50 PM

wrote Nov 5, 2009 at 7:38 PM

wrote Dec 20, 2009 at 7:30 PM

wrote Jan 8, 2010 at 10:37 AM

citicat wrote Jan 8, 2010 at 10:39 AM

After following StyleCop code formatting rules this is the only reason why I cannot use the Source Code Outliner Power Toy anymore :-(

wrote Feb 14, 2013 at 2:30 AM