06.15 Moving or Selecting Between Matching Braces (C++, C# Only)

DEFAULT

Ctrl+] (move); Ctrl+Shift+] (select)

VISUAL BASIC 6

Ctrl+] (move); Ctrl+Shift+] (select)

VISUAL C# 2005

Ctrl+] (move); Ctrl+Shift+] (select)

VISUAL C++ 2

Ctrl+] (move); Ctrl+M (move);

Ctrl+Shift+] (select); Ctrl+Shift+M (select)

VISUAL C++ 6

Ctrl+] (move); Ctrl+Shift+] (select)

VISUAL STUDIO 6

Ctrl+] (move); Ctrl+Shift+] (select)

WINDOWS

[no shortcut]

COMMAND

Edit.GotoBrace; Edit.GotoBraceExtend

VERSIONS

2005, 2008, 2010

LANGUAGES

C++, C#

CODE

vstipEdit0075

When you are working with the C* languages, you sometimes want to move to the bottom or top of a method or code block. You can quickly travel or select between matching braces by performing the following steps.

Moving

Click next to ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.