A
A
Alexander Loginov-Solonitsyn2015-04-28 11:46:57
Sublime Text
Alexander Loginov-Solonitsyn, 2015-04-28 11:46:57

How to highlight a section of code between paired tags in the margins with Sublime Text 3?

Actually the question is: in the beloved N ++ this option is by default, and in any other editor it is present (photo):
01f55076669f4d0e8f4d4b467ada7629.png
The section of code that is between paired tags or that can be collapsed in the margins is highlighted in red.
Similar behavior in phpStorm (photo):
03a563ac3b504d1cad61cd4515cedad4.png I have already put up with the lack of a clear selection of paired tags and brackets (no big deal), but the lack of selection of a section of code between paired tags significantly slows down my study of code, especially someone else's. Maybe there is a plugin for ST3?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Demin, 2015-04-28
@keksmen

Are you sure you have the latest build? Now I'm sitting and watching how, when hovering over the line numbers, triangles appear suggesting to "fold" the block of code.
PS from plugins only package control and color coder.

A
Andrey B., 2015-04-28
@andykov

I have already put up with the lack of a clear selection of paired tags and brackets (no big deal),

Everything is configurable.
Look here and here
Place the caret on the desired tag whose contents you want to highlight.
Press ctrl+shift+a

D
Dido Meby, 2015-04-28
@mushailoff

You can also use Ctrl+, (control+comma). Place the cursor on the tag, or on the content. This is a feature of the Emmet plugin. docs.emmet.io/actions/match-pair

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question