Author Topic: Autoindentation doesn't work correctly with non-bracketed blocks  (Read 4438 times)

fuzzybyte

  • Guest
Dear codeblock devs,

anyway, into to the problem itself..
When I type something like this

if(1)
{

codeblocks will indent the next line so i get something like this

if(1)
{
    function();
}

but when I'm not using brackets I get something like this

if(1)
function();

but I want it to be like this

if(1)
    function();


 :(

I think it was like this in Dev-C++ as well, but please make it work properly so codeblocks won't suck like dev-c++! Or if there is already someway to make it work like i want it to, please tell me how.

My cb version is "svn build rev 0 () gcc 4.1.2 Linux/unicode". The about page shows that it was compiled August 14.
It's a gentoo package version 1.0_pre20070618.
« Last Edit: August 14, 2007, 10:28:10 pm by fuzzybyte »