[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.cdt] Re: colaps functions

I'm wondering is it possible to collapse methods / loops like in java mode ?

if yes how to activate it?
Have a look at Preferences->C/C++->Editor. There is a tab called folding. If it is activated there will be a (-) on the left side for every function. Just click it to fold (collapse) the function. There is also a key shortcut (CTRL--). Unfortunately, it is yet not possible to fold loops. Have a look at bug #174597 and vote for it.

 Axel