[1758.9] Closing brace inserted even though auto-insert braces is off
I'm using ReSharper 5.1.1758.9 in VS 2010, C# project. When I type an opening brace { a closing brace } is immediately inserted, even though the ReSharper option "Auto-insert closing brace" is unchecked. I also tried setting it to "On Enter after an opening brace" and that also made no difference - the closing brace was still inserted immediately. This is really annoying!
Please sign in to leave a comment.
Hello,
I couldn't reproduce this behavior with this build. Could you please make
sure that the closing braces is not automatically added if you suspend ReSharper
under Tools | Options | ReSharper | General? Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Do you use the Productivity Power Tools Extension? It has a feature called "Automatic Brace Completion". Perhaps this is what inserts your braces... Or any other extension with some equal function could be the source too.
Yes, that was it! Thank you so much, Sven - it was driving me crazy. Sorry to blame R# for it. :)