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

Key: RSRP-21102
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Oleg Stepanov
Reporter: Serge Baltic
Votes: 0
Watchers: 0
Operations

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

?Extract Method?: Remove Outer Curly Braces from Code Block

Created: 06 Aug 06 03:46   Updated: 15 Jun 07 18:48
Component/s: Refactorings - Extract Method
Fix Version/s: 4.0
Security Level: Everybody (All jira users)

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

Build: 229
Old URL: http://www.intellij.net/tracker/resharper/viewSCR?publicId=21102


 Description  « Hide
A whole ?{?-enclosed scope is selected for ?Extract Method?, for example, the contents of an if-block, the enclosing braces are within the selection (typical selection: caret on one of the braces, Ctrl+Shift+[ to select the whole block). The created method thus has double braces, those of the method body and those of the selected block. The latter should be removed.

Example of the result:

void NewMethod()
{

{ // Some Code }

}



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