views:

64

answers:

2

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.

A: 

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.

GraemeF
When I press Ctrl+] I get moved to the other end of the same tag.
leeand00
What is `Edit.GotoBrace` bound to?
GraemeF
Edit.GotoBrace is bound to Ctrl+]P.S. I am using Visual Studio 2005
leeand00
I only have VS2008 installed - you could edit your question to clarify that you're asking about VS2005.
GraemeF
+1  A: 

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.).

CAbbott
Ah that's a bummer...
leeand00