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

RSRP-467075: Wrap chained method calls introduces whitespace in interpolated strings

$
0
0
Reporter Steven Coco (steevcoco) Steven Coco (steevcoco)
Created Nov 17, 2017 2:31:14 AM
Updated Apr 8, 2018 2:08:35 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Submitted
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
With the option "wrap chained method calls", ReSharper inserts whitespace in an interpolated string:

$"{GetType() .Name}";

---- There is space between GetType() and .Name. Presumably because R# wants to wrap, but it can't wrap the interpolated expression.

ALSO: it APPEARS that this particular example MAY show ANOTHER BUG: should the .Name be wrapped at all? It isn't a method.

Turning this option off stops that behavior — so it is coming from that option.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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