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

RSRP-189471: Formatting of braces for object initialization

$
0
0
Reporter Brian (oliwa) Brian (oliwa)
Created Aug 26, 2010 1:16:58 AM
Updated Jan 16, 2012 7:58:36 PM
Priority Normal
Type Usability Problem
Fix versions No Fix versions
State Submitted
Assignee Ilya Ryzhenkov (orangy)
Subsystem Code Editing
Affected versions 5.0, 5.1, 6.0, 6.1
Fixed in build No Fixed in build
I've looked through all of the options and when I initialize an object with parameters ReSharper wants to do this...

var myvar = new Exception()
{
Message = "I don't like this"
};

But I want this...

var myvar = new Exception()
{
Message = "I like this"
};

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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