WNDRMNT
WNDRMNT

Reputation: 43

Sublime Text HTML element folding arrow

The fold arrow in the gutter doesn't have arrows for all indented elements in HTML, only a few:

Screenshot

It only shows an arrow on line #2 and #6. This is with reindenting and --- "tab_size": 2, "translate_tabs_to_spaces": true --- in my user settings.

Is anyone else experiencing this? I have the fold arrows set to always show and it'd be so much faster to be able to collapse each respective HTML element when necessary.

Thanks!

Upvotes: 1

Views: 4451

Answers (2)

Alex L.
Alex L.

Reputation: 821

Your indentation must to be well done to have folding arrows :

SublimeText

Preferences

"tab_size": 4,
"tabs_small": true,
"translate_tabs_to_spaces": true

Upvotes: 2

Jason
Jason

Reputation: 696

Reiterating to what Alex has said, if Indentation is what's causing this .. Have

[
    {"keys": ["f12"], "command": "reindent"}
]

in your user preferences. Ctrl+A and then f12 and see if you get the collapsing arrows.

Upvotes: 0

Related Questions