Matching tag in HTML keyboard shortcut

后端 未结 9 1570
不思量自难忘°
不思量自难忘° 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:36

    I search and couldn't found direct short cut. But you can use..

    If you want to go starting matching HTML tag, then follow below steps.

    1. Place cursor at ending matching HTML tag.
    2. Press Ctrl+M+M [To Collapse entire tag]
    3. Press Home Key [To place cursor at before starting tag]
    4. Press Ctrl+M+M [To Expand entire tag]

    If you want to go ending matching HTML tag, then follow below steps.

    1. Place cursor at starting matching HTML tag.
    2. Press Ctrl+M+M [To Collapse entire tag]
    3. Press End Key [To place cursor next to ending tag]
    4. Press Ctrl+M+M [To Expand entire tag]

提交回复
热议问题