Sublime Forum

Fold method

#1

I have two questions about folding methods in c++.

When I do fold all command, it does not fold the method that my caret is currently in. I would like fold all to fold all methods including the one I ma currently in. Is this possible?

Second question. When I issue a fold command and my caret is inside a method, it will only fold that method if my caret is not inside another set of brackets like an if statement. In that case it will instead fold the if statement. Is there a way that I could have fold always fold the current method?

Thanks

0 Likes