It would be nice, if Resharper could highlight the scope of a break or continue in just the same way it highlight opening and closin parenthesis an brace.
foreach(string s in myStringArray)
{
if(s == "Hello World")
{
break;
}
else
{
continue;
}
// never get here
}
in a case as simple as this one it is easy to see, but if the loop is longer it would be nice to see to which loop the break belongs
Thanks Dany
Description
It would be nice, if Resharper could highlight the scope of a break or continue in just the same way it highlight opening and closin parenthesis an brace.
foreach(string s in myStringArray)
{
if(s == "Hello World")
{
break;
}
else
{
continue;
}
// never get here
}
in a case as simple as this one it is easy to see, but if the loop is longer it would be nice to see to which loop the break belongs
Thanks Dany