Solved

how to move between brackets in visual studio

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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

617 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