When I expand something like this (javascript):
function something() { return 0; }
and unexpand (don’t know correct name), it goes to this:
function something() {... }
Is this a bug?
When I expand something like this (javascript):
function something() { return 0; }
and unexpand (don’t know correct name), it goes to this:
function something() {... }
Is this a bug?
you are talking about code folding. Code folding in ST is indentation based, so if the } is indented at the same level as the function declaration then it won’t get folded.
it’s not a bug, but something many people wish behaved differently.