Resharper 9 and new line options not working

Hello,

I'm using ReSharper 9.1.3 (trial version for now) with C# and VS 2015 RTM on Win 8 (64 bit), and I'm having big problems setting the code formatting as I want it to be. I want to keep if/foreach/etc opening braces on the same line, but ReSharper always auto-formats them on a new line. I disabled the corresponding options in "C# > Formatting Style > Line Breaks and Wrapping", but to no avail. Even tried to apply this format to all settings, again uselessly. It's kind of driving me crazy and making ReSharper pretty useless for me, considering it's giving me more headaches than help :/

If I disable ReSharper, VS correctly follows the options I set and doesn't use the "new line" approach.

Is this a known bug, or something else?

Thanks

4 comments
Comment actions Permalink

*bump*

I'm nearing the end of ReSharper's trial, and I'd like to understand if it's the program for me or not. If this bug can't be solved than the answer is no, but it would be a pity.

0
Comment actions Permalink

Please try another settings to adjust: ReSharper | Options | Code Editing | C# | Formatting Style | Braces Layout | Change needed comboboxes to "At end of line (K&R style)".

0
Comment actions Permalink

That worked! I had to set the "Other" setting to "At end of line" there. Thanks.

0

Please sign in to leave a comment.