Find closing HTML tag in Sublime Text

前端 未结 7 1804
太阳男子
太阳男子 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:59

    I think, you may want to try another approach with folding enabled.

    In both ST2 and ST3, if you enable folding in User settings:

    {
        ...(previous item)
        "fold_buttons": true,
        ...(next item, thus the comma)
    }
    

    You can see the triangle folding button at the left side of the line where the start tag is. Click it to expand/fold. If you want to copy, fold and copy, you get all block.

提交回复
热议问题