VS2010 / R#5.1
I have this "line" of code:
With.Mocks(_mocks).Expecting(() => {
_fooServiceMock.Expect(x => x.FooMethod()).Return(fooMockData);
}).Verify(() => {
});
I perform a R# code cleanup, which changes the code as follows:
With.Mocks(_mocks).Expecting(() => { _fooServiceMock.Expect(x => x.FooMethod()).Return(fooMockData); }).Verify(() => { });
That is, it reformats the statement such that it appears entirely on one line.
What IDE/R# setting is responsible for this? What can I change to preserve my line breaks when I perform a R# code cleanup?
I would have thought 'R# / Options / Languages / C# / Formatting Style / Line Breaks and Wrapping / Preserve Existing Formatting / Keep existing line breaks', but that doesn't seem to make any difference.
R offers a wide variety of statistics-related libraries and provides a favorable environment for statistical computing and design. In addition, the R programming language gets used by many quantitative analysts as a programming tool since it's useful for data importing and cleaning.
uncountable noun. R & R refers to time that members of the armed forces spend relaxing, away from their usual duties. R & R is an abbreviation for `rest and recuperation.
Python's statistical packages are less powerful. R's statistical packages are highly powerful. Python is mainly used when the data analysis needs to be integrated with web applications. R is generally used when the data analysis task requires standalone computation(analysis) and processing.
The "R" name is derived from the first letter of the names of its two developers, Ross Ihaka and Robert Gentleman, who were associated with the University of Auckland at the time.
It's Place simple anonymous method on single line
option in Line Breaks and Wrapping
category.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With