Formatting bug or silly settings by me?

I have a CSHTML file.


It contains a call to RenderpartialAsync() inside a code nugget.


Then I manually format the nugget over three lines the formatting is sensible.


However, if I write the nugget on one line:

@{ await Html.RenderPartialAsync("_Candidates", Model.Candidates); }

Then the formatting is mental:


Is this a bug or have I got a daft setting somewhere?



Please sign in to leave a comment.