views:

214

answers:

2

A simple question.

I'm trying out ReSharper and it closes my curly braces for me as soon as I open them. I really dislike this "feature" and I've had about three long looks through the settings window and I can't seem to figure out how to disable it! Am I missing an obvious check-box somewhere?

Edit:

The unchecking of "Auto close parenthesis after completion" does not do the trick!

I want to be able to type the following without } appearing for me:

if(true){

This doesn't seem like anything to do with intellisense completion.

+6  A: 

To turn off this behaviour, open the ReSharper options and on the Editor tab, untick the Auto-insert closing brace option. There should be no need to restart Visual Studio.

adrianbanks
Superb!!! I'm not sure how I missed that, it pretty much spells it out for you. They could do with a "search" tool for their options... anyway, thanks a lot!
joshcomley
+1 don't know how i missed that one either. removed my erroneous answer.
dove
Awesome. Because in ASPX pages this is PARTICULARLY frustrating and buggy.
GONeale
A: 

FYI: I thought there was a bug in ReSharper until I realised Microsoft's "Prouctivity Power Tools" plugin also has an automatic brace completion option which is set to on by default.

Lee Smith

related questions