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

RSRP-287972: Formatting of nested initializers broken

$
0
0
Reporter Marcin Wiśnicki (Marcin.Wiśnicki) Marcin Wiśnicki (Marcin.Wiśnicki)
Created Jan 24, 2012 6:29:29 PM
Updated Jan 25, 2012 12:10:42 AM
Resolved Jan 24, 2012 7:51:07 PM
Priority Normal
Type Bug
Fix versions Next
State Fixed
Assignee Evgeny Pasynkov (pasynkov)
Subsystem Code Editing
Affected versions 6.1
Fixed in build 6.5.1.3353
If I disable "Formatting Style\Other\Indent array, object and collection initializer block" to get formatting as in Visual Studio it works for primary initializer but nested initializers are still indented:

ReSharper:
         var win = new Window
         {
            BorderBrush =
               {
                  Opacity = 0.1
               }
         };


Visual Studio default formatting:
         var win = new Window
         {
            BorderBrush =
            {
               Opacity = 0.1
            }
         };

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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