Find closing HTML tag in Sublime Text

前端 未结 7 1801
太阳男子
太阳男子 2020-12-12 11:16

I have a very long and very nested HTML document, where I need to quickly find the closing tag. How can I do this?

7条回答
  •  感情败类
    2020-12-12 11:33

    There is a shortcut (Ctrl+Shift+A for Windows and Linux users, Command+Shift+A for Mac users) to select the whole block within the currently selected tag.

    For example, if you pressed this while your text cursor was within the outer div tag in the code below, all the divs with class selected would be selected.

提交回复
热议问题