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

Axel Mueller wrote:

>> 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.

Pleaase note that - for Ctrl+- needs to be pressed on the numeric keypad.
The ordinary +/- keys will not work. Please note that there exists many
notebooks without such a numeric keypad!

Jens