Suppose we have something like this:
{ // 1
A();
{ // 1.1
B();
{ // 1.1.1
{ // 1.1.1.1
D();
}
X();
{ // 1.1.1.2
E();
}
}
C();
{ // 1.1.2
F();
}
}
}
And we'd like to collapse block 1.1.1
along with all the blocks in it to get:
{ // 1
A();
{ // 1.1
B();
{...} // 1.1.1
// {...} 1.1.1.1 also collapsed in 1.1.1
// X();
// {...} 1.1.1.2 also collapsed in 1.1.2
C();
{ // 1.1.2
F();
}
}
}
Is there a way to do it quickly (esp. in case of multiple layers of sub-blocks)?
I know of CTRL+M+L, which I tend to use quite often, and would love to learn more.
Have a good day.