[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!

3 comments
Comment actions Permalink

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!"

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!

---
Original message URL:
http://devnet.jetbrains.net/message/5280033#5280033



0
Comment actions Permalink

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.

0
Comment actions Permalink

Yes, that was it! Thank you so much, Sven - it was driving me crazy. Sorry to blame R# for it. :)

0

Please sign in to leave a comment.