Code::Blocks Forums

User forums => Help => Topic started by: Anonymous on May 05, 2005, 06:58:15 pm

Title: Can not set indent space in aStyle
Post by: Anonymous on May 05, 2005, 06:58:15 pm
Hi

I am using CB v1.0-beta7. The astyle configure can only select a general style, but all other specific options like indent space is disable(gray, can not change)?

Is this something still not implemented?

Thanks!
Title: Can not set indent space in aStyle
Post by: mandrav on May 05, 2005, 10:32:15 pm
You need to select "Custom" in the first tab.

Yiannis.
Title: Can not set indent space in aStyle
Post by: Anonymous on May 05, 2005, 11:53:31 pm
Quote from: mandrav
You need to select "Custom" in the first tab.

Yiannis.
Thank you, mandrav

However if I select "Custom", other things will change. If I want to keep everything as ISO C style and only indentation changes to 3, can I?

I can do it using aStyle stand alone version.
Title: Can not set indent space in aStyle
Post by: mandrav on May 06, 2005, 08:32:29 am
Currently, no, because I don't know the defaults for each style  :oops:
But I 'll see what can be done about it.

Yiannis.
Title: Can not set indent space in aStyle
Post by: Anonymous on May 07, 2005, 02:20:36 am
Quote from: mandrav
Currently, no, because I don't know the defaults for each style  :oops:
But I 'll see what can be done about it.

Yiannis.
Yiannis

That is just a tiny wish, that is fine. And by the way, I love Code::Blocks, I tried Dev-C++ four years ago, I did  not like it becasue it has to do debug through GDB command line. Eclipse+CDT is great but too huge and some features are not good to me. Code::Blocks is the best light-weight IDE.

Thanks!
Title: Can not set indent space in aStyle
Post by: Anonymous on May 07, 2005, 02:24:54 am
Another question, When I new an empty project, the default is GUI one, can I set the default as console mode so I do not have to manually change it every time?

Thanks!