Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

collapse if statement

5 views
Skip to first unread message

omtechguy

unread,
Feb 5, 2012, 7:03:25 AM2/5/12
to
Hi,

Is there an option to collapse if statement as we collapse function to
its definition?

(Something like CTRL+M, O but for conditions, try\catch etc..)

Thanks

David Lowndes

unread,
Feb 7, 2012, 7:09:54 AM2/7/12
to
>Is there an option to collapse if statement as we collapse function to
>its definition?
>
>(Something like CTRL+M, O but for conditions, try\catch etc..)

In the options for Text Editor, C/C++ - enable the "Automatic
outlining of statement blocks" option.

Then Ctrl+M,Ctrl+M (Toggle Outlining Expansion) on an if statement
line will collapse the block.

Dave
0 new messages