I have Eclipse 3.0.1 with CDT 2.1.0 on Win2K. I have looked high and
low for a command to re-indent a badly formatted block of text, but I
can't find it. I mean, I know how to move the code one 'tab' to the
right or to the left, but I'd like Eclipse to automatically fix the
whole indentation in a given code segment. Is that supported?
Thanks in advance,
Danny
Fahd Shariff - 16 Mar 2005 18:51 GMT
I usually do Ctrl+Shift+F to format selected code. Is that what ur
looking for?

Signature
Fahd Shariff
Ulf_N - 16 Mar 2005 18:52 GMT
WildernessCat skrev:
> I have Eclipse 3.0.1 with CDT 2.1.0 on Win2K. I have looked high and
> low for a command to re-indent a badly formatted block of text, but I
[quoted text clipped - 4 lines]
> Thanks in advance,
> Danny
ctrl+shift+F will fix the indentations, but for the whole file. Don't
know how to do it for a separate block. /ulf
Ulf_N - 16 Mar 2005 18:57 GMT
Ulf_N skrev:
> WildernessCat skrev:
>
[quoted text clipped - 9 lines]
> ctrl+shift+F will fix the indentations, but for the whole file. Don't
> know how to do it for a separate block. /ulf
Fahd is right of course. ctrl+shift+F works on a selection too. /ulf