Alex Rivera | Logout

Matching a closing brace in Visual Studio

Asked 2009-01-15T19:46:57.100
17

Is there a setting in Visual Studio 2008 that I can turn on which would generate a matching closing brace for a opening brace?

EDIT: I would imagine that an IDE as powerful as Visual Studio would have this very useful feature.

EDIT: Is there a macro that can be written? From the responses I have received it looks like ReSharper is the only option. I don't want to have to ask my company to invest in the ReSharper tool, I work for a rather large enterprise and getting anything approved from procurement is not an easy task.

EDIT: I am using VS 2010 Ultimate. The Power Tools and Power commands now do everything I was looking for in this post.

Edit
Report

1 Answer

1

EDIT: Thanks hyde, Steven's answer appears to be right: The Microsoft Productivity Power Tools do have a 2012 version now.

Original outdated answer:

It appears that the Microsoft Productivity Power Tools don't work in VS 2012 yet. If you're looking for a solution that works on the new version, you can check out this extension:

http://visualstudiogallery.msdn.microsoft.com/0e33cb22-d4ac-4f5a-902f-aff5177cc94d

answered 2012-07-23T18:48:00.067

Your Answer