I work sith Hugo that uses Go templating where {{…}} are widely used.
Sometimes these vitally important curly braces encompass big chunks of code and seeing the starting {{ tag I do very much need an instrument that would show me the matching (closing) tag }}.
AFAIK there is no such thing in Sublime Text 4.
Would be very happy if you prove me wrong.
Thanks!
{{ matching }}
vistad
#1
0 Likes
bschaaf
#2
I took a quick look at Hugo; does the built-in HTML (go)
syntax not work for you?
0 Likes
deathaxe
#3
Regardless choosen syntax ST highlights matching brackets and enables navigating between them via ctrl+m
.
It however highlights a single brace only, not both {{
or }}
at the same time.
Same is true for BracketHighlighter, which also displays gutter icons for matching brackets.
As BracketHighlighter is very flexible I wouldn’t be surprised highlighting both braces would be possible with custom set of rules.
1 Like