You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@
var x expression
@@
-x.Enabled(true)
+x.Enabled()
This automatically reformats the expression matched to x, and that could make a lot of unwanted changes. For example, if the original code looks like this:
a.Foo().Bar(bar)
.Baz(baz)
.Enabled(true)
The resulting code after applying the patch becomes a one-liner:
a.Foo().Bar(bar).Baz(baz).Enabled()
Adding an option to disable the automatic formatting of code when applying patches could be nice for cases like this. For example, with that option, the resulting code would look like this:
a.Foo().Bar(bar)
.Baz(baz)
.Enabled()
The text was updated successfully, but these errors were encountered:
Currently when you use the following patch:
This automatically reformats the expression matched to
x
, and that could make a lot of unwanted changes. For example, if the original code looks like this:The resulting code after applying the patch becomes a one-liner:
Adding an option to disable the automatic formatting of code when applying patches could be nice for cases like this. For example, with that option, the resulting code would look like this:
The text was updated successfully, but these errors were encountered: