>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