Reporter |
|
---|---|
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:
---- There is space between
ALSO: it APPEARS that this particular example MAY show ANOTHER BUG: should the
Turning this option off stops that behavior — so it is coming from that option.
$"{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.