Solved

how to move between brackets in visual studio

Posted on 2015-01-16
2
137 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 26

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

739 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