History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-38815
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Ilya Ryzhenkov
Reporter: Daniel Fabian
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ReSharper

Highlight the scope of "break" and "continue"

Created: 12 Apr 07 16:40   Updated: 14 Apr 07 15:50
Component/s: Code Editing
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 337


 Description  « Hide
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



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.