leeand00
leeand00

Reputation: 26392

What is the keyboard shortcut for jumping to the matching tag in Visual Studio 2005?

When editing HTML in Visual Studio, is there a keyboard shortcut for jumping to/from the matched html tag in much the same way that you can do so with matched brackets?

I've already been to the Visual-Studio-Keyboard-Shortcuts Question.

For example:

I want to move from <head> to </head> when I press a keyboard shortcut.

Upvotes: 1

Views: 294

Answers (2)

CAbbott
CAbbott

Reputation: 8098

Unfortunately, I don't believe there is a shortcut key for what you're trying to do. I was able to get Ctrl + ] to work within .config files, but no luck on any html-based files (.aspx, .ascx, .master, etc.).

Upvotes: 1

GraemeF
GraemeF

Reputation: 11457

It's the same as for brackets for me, Ctrl + ]. If it's not working, check that the Edit.GotoBrace command is bound in the Keyboard options.

Upvotes: 0

Related Questions