Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-287544: Surround with brace doesn't format correct after commens

$
0
0
Reporter Greg Law (lothan) Greg Law (lothan)
Created Jan 2, 2012 9:32:50 PM
Updated Feb 3, 2012 6:47:09 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Slava Tutushkin (slava.tutushkin)
Subsystem Code Completion
Affected versions 6.1.1
Fixed in build No Fixed in build
Create a block of code like this:

private void SomeMethod()
{
if(someTest)
DoSomething(); // This does something
}

If you surround the call to DoSomething() with braces, the closing brace is flush left:

private void SomeMethod()
{
if(someTest)
{
DoSomething(); // This does something
}
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>