Solved

how to move between brackets in visual studio

Posted on 2015-01-16
2
127 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 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

809 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