IDE sub folding

ukimiku

Active Member
Licensed User
Longtime User
Is there a way to make the IDE remember which subs I had folded when I quit the IDE? Now every time I open the source again, all subs appear "unfolded" again.

Thanks.

Regards,
 

ukimiku

Active Member
Licensed User
Longtime User
Thanks. Is there documentation on features like the one you mentioned?

Regards,
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
Just in case you still need clarifications:
1. For example type: #Region MyHiddenSubs right above the first Sub you want to collapse.
2. At the end of that sub type: #End Region
3. When you want to collapse, click the - (minus) sign to the left of #Region. To Unhide, click the + (plus) sign.
If you want to hide (collapse) a few subs, make sure they are contiguous, in sequence, see below:

B4X:
#Region MyHiddenSubs    'MyHiddenSUbs can be any text you enter.
Sub MySub1
.
End Sub
Sub MySub2
.
End Sub
#End Region
 
Upvote 0
Top