Computer Science Canada

Eclipse auto indent?

Author:  RobinK [ Fri Oct 08, 2004 10:14 pm ]
Post subject:  Eclipse auto indent?

Is there an auto indent in elipse? I can't seem to find one and clicking every line and pressing tab is getting difficult with longer programs.

Author:  Tony [ Fri Oct 08, 2004 10:48 pm ]
Post subject: 

i don't remember... I know that SciTE autoindents

it ofcourse doesn't have capabilities of eclipse, but it's becoming my favourite source editor for most of programming languages

Author:  Dan [ Sat Oct 09, 2004 12:19 pm ]
Post subject: 

Is it realy that hard to fromat your code your self? I use the unix shell with pico (a shell text editor) as my editor for most of my C and C++ code Rolling Eyes

I whould like to see u get that to crash....

Author:  rizzix [ Sat Oct 09, 2004 1:27 pm ]
Post subject: 

yea its possible to auto indent in eclipse.. i forgot the shortcut.. (haven't been doing much programming lately) but if u look under edit or something... it's called Format Code.. click that.

Author:  rizzix [ Sat Oct 09, 2004 1:31 pm ]
Post subject: 

Hacker Dan wrote:
Is it realy that hard to fromat your code your self? I use the unix shell with pico (a shell text editor) as my editor for most of my C and C++ code Rolling Eyes

I whould like to see u get that to crash....



stable releases of eclipse wouln't crash dan.. but yea neither would pico.. although i prefer vim (but if you you like the pico feel.. use nano.. pico is too limiting).. nevertheless there is a program called astyle for unix that you can use to autoformat ur code.

Author:  Dan [ Sat Oct 09, 2004 6:16 pm ]
Post subject: 

Well this is on the schools super comps so i do not realy get to pic what apps are there or not. Also i did not mean to impley that eclipes whould or whould not crash just that you whould have to put a lot of work in to geting pico to crash.

Author:  Hikaru79 [ Sun Oct 17, 2004 11:00 am ]
Post subject: 

Auto-indent in Eclipse is simply Ctrl+I. Or go to "Source --> Correct Indentation."


: