For info, I was talking about this one:
https://github.com/sublimehq/sublime_text/issues/101
Editors like visual studio IDE properly fold code so that it results in a compact layout once it's folded. I would guess indentation-based folding could be made more compact and not take unnecessary lines.
Re:Sublime Text 4 (Build 4126)
by ben-schaaf on Tuesday December 21, 2021 @07:47PM
(#29644099)
As you can see I'm already assigned to that issue, so we've got something in the works.
It could be useful to open a feature request for 'code-based' folding, if the existing 'text-based' one is considered to be working as intended. That way we're not fighting over a definition but rather showing demand for a new capability that everyone would agree is absent.