Solved

how to move between brackets in visual studio

Posted on 2015-01-16
2
123 Views
Last Modified: 2015-01-20
In JDeveloper and GVim and so many other tools, there are easy ways to jump from one bracket or parenthesis to the matching bracket or parenthesis on the other side (from opening to closing or closing to opening).

Further you can usually hold down shift key to select the text between the objects.

The behavior I'm looking for is alt+shift+{ and alt+shift+} in JDeveloper... but I need to figure out how to do it in Visual Studio.

I'm not interested in collapsing code regions. I'm interested in moving the cursor between brackets and parens with a keyboard command.
0
Comment
Question by:gswitz
2 Comments
 
LVL 25

Accepted Solution

by:
Shaun Kline earned 500 total points
ID: 40553425
CTRL + ] used to work in Visual Studio. It appears that this key combination has been assigned to another menu item. You can add the Go To Brace menu option by customizing your menus. From there, you may be able to assign your own shortcut under Tools Menu -> Options -> Environment -> Keyboard.
0
 

Author Comment

by:gswitz
ID: 40560650
Ctrl+Alt+Arrow with resharper turns out to be my favorite way to extend, but ctrl+] does toggle between brackets.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now