Reporter | Peter Mounce (pfm1021263858798932) |
---|---|
Created | Dec 11, 2008 12:35:33 AM |
Updated | Jan 23, 2012 11:18:10 PM |
Priority | Critical |
Type | Usability Problem |
Fix versions | Mirabile Futurum |
State | Open |
Assignee | Ilya Ryzhenkov (orangy) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
I'm writing quite a lot of code that makes use of fluent interfaces. For example, Rhino Mocks looks like:
I would prefer that to reformat to:
(where the indent is a single tab).
For LINQ queries, same thing. I'd like each fluent call to be one a new line, indented and aligned.
mockCrypto.Expect(c => c.Hash("authenticationHashSalt", "ignoring arguments")).IgnoreArguments().Return("hashed");
I would prefer that to reformat to:
mockCrypto.Expect(c => c.Hash("authenticationHashSalt", "ignoring arguments")) .IgnoreArguments() .Return("hashed");
(where the indent is a single tab).
For LINQ queries, same thing. I'd like each fluent call to be one a new line, indented and aligned.