After playing a bit, it seems all code is full of ifs and code blocks are never that long, so while labeling them still make sense, collapsing them doesn't seem that useful.
Unless we can also collapse control flow blocks, but how ? maybe :
## will collapse the control flow block if happens just after
if(foo) bar
## will collapse the code below AND the following control flow block thanks to ## comment
baz
##
if(foo) bar
The problem then is that comments are not just comment anymore, but code. At least ## is code. But maybe it's an acceptable compromise.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
After playing a bit, it seems all code is full of ifs and code blocks are never that long, so while labeling them still make sense, collapsing them doesn't seem that useful.
Unless we can also collapse control flow blocks, but how ? maybe :
The problem then is that comments are not just comment anymore, but code. At least
##
is code. But maybe it's an acceptable compromise.