Matching tag in HTML keyboard shortcut

后端 未结 9 1550
不思量自难忘°
不思量自难忘° 2020-12-14 14:44

Is there a shortcut in Visual Studio (2008) that will allow me to jump to matching HTML tag... as CTRL+] does for matching braces when you are in code view?

Example:

9条回答
  •  执笔经年
    2020-12-14 15:19

    I am using Visual Studio Code in Windows 10. Currently version 1.34.0. To jump to the matching html tag, I set it up through File -> Preferences -> Keyboard Shortcuts. Look for "Matching Tag: Jump to matching tag" .. There's a + when you hover it, then I set keybinding Shift + ] .. you can set your own as long as it isn't used for another function. So now I am able to jump to the closing HTML tag. Hope this helps.

提交回复
热议问题