Resharper C# space formatting

Visual Studio has an option under Tools - Options - Text Editor - C# - Formatting - Spacing, that tells VS to ignore spaces in declaration statements. This allows us to allign the "=" signs in our code.

ReSharper - Options - Languages - C# - Formatting Style - Spaces, allows for either a space around "=" or none. This defeats the Visual Studio option and leaves me with no way to keep my "=" allinged in my code.

Can an option be added later to tell ReSharper to ignore spaces in assignment statements just like Visual Studio has, so I can keep my code formatted like I used to before installing ReSharper?

P.S. Please do not misunderstand my request, I like ReSharper and would not want to code without it.

1 comment

Thank you for the report.

The main problem with such formatting style is that it is EXTEMELY hard to
maintain, since nearly entire file should be re-formatted when the single
identifier changes

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Lorenzo Statie" <no_reply@jetbrains.com> wrote in message
news:32298061.15241221848656907.JavaMail.jive@app4.labs.intellij.net...

Visual Studio has an option under Tools - Options - Text Editor - C# -
Formatting - Spacing, that tells VS to ignore spaces in declaration
statements. This allows us to allign the "=" signs in our code.

>

ReSharper - Options - Languages - C# - Formatting Style - Spaces, allows
for either a space around "=" or none. This defeats the Visual Studio
option and leaves me with no way to keep my "=" allinged in my code.

>

Can an option be added later to tell ReSharper to ignore spaces in
assignment statements just like Visual Studio has, so I can keep my code
formatted like I used to before installing ReSharper?

>

P.S. Please do not misunderstand my request, I like ReSharper and would
not want to code without it.



0

Please sign in to leave a comment.