Indentation in Code::Blocks [Archive] - C Board

PDA

View Full Version : Indentation in Code::Blocks


PING
03-15-2008, 08:57 AM
I recently switched from Dev-Cpp to Code::Blocks. I love the interface but there is this small problem that is bothering me. Whenever i save the file and the cursor is on a line with no text it goes to the start of the line, i have to press tab many times to get it to where it was so as to maintain indentation. Its irritating at times :( Is there any way to stop the cursor from going to the start of the line ?

IceDane
03-16-2008, 04:01 PM
I just switched myself - due to Dev-C++'s lack of maintenance, Code::Blocks is a hundred times better, and I curse myself to ashes for not having installed it before.

Anyway, I noticed the think you're talking about, too, but it doesn't really bother me. Try sending them a mail?

Btw, erasing the newline and going on the line above, then pressing enter, should get you back to your preferred level of indentation.

Wraithan
03-16-2008, 04:12 PM
The tip IceDane suggests is what I do, what you may want to look for is the remove white space setting. I remember seeing it but I am not on a computer with it installed at the moment.

arpsmack
03-17-2008, 01:41 AM
Have any of you guys tried compiling Code::Blocks yourselves, or do you use the binary package?

I had a hell of time trying to compile it myself, and I eventually just gave up. I'll give it another try some day.

Good god that was horribly off topic. I'm sorry.

Elysia
03-17-2008, 01:45 AM
Eh, what's the need of compiling it yourself?

Wraithan
03-17-2008, 07:59 AM
I gave it a shot before on a linux box, eventually got it to compile but took a lot of work. Now I just wait for releases for my OS.

abachler
03-17-2008, 10:18 AM
Eh, what's the need of compiling it yourself?

Its a preface to porting it to a nonstandard architecture. It also proves the compiler is operating correctly. In order for a compiler to be complete, it has to compile itself in a multiple step process that results in an executable that compiles its own source to produce the exact executable that was used to compile it.

laserlight
03-17-2008, 10:35 AM
Its a preface to porting it to a nonstandard architecture. It also proves the compiler is operating correctly. In order for a compiler to be complete, it has to compile itself in a multiple step process that results in an executable that compiles its own source to produce the exact executable that was used to compile it.
They are talking about compiling Code::Blocks, not the compiler.

Vicious
03-26-2008, 03:33 PM
In order for a compiler to be complete, it has to compile itself in a multiple step process that results in an executable that compiles its own source to produce the exact executable that was used to compile it.

That may have missed the mark for this topic (IDE vs Compiler) but i felt it was quote worthy. Pending signature addition. :)