I actually tried to reinstall that bec my editor wont format my code for unknown reason so its an editor problem ,
so how is that problem is not a codeblocks problem.
bec = becasue , and I Wanted to reinstall to resert my editor formattor setting,
but it wont work, if I can't reset it , guess I use another IDE .
ty for replying :)
void foo()|
ENTER
void foo()
|
BRACE_OPEN
void foo()
{
|
}
void foo() |
BRACE_OPEN
void foo() {|}
ENTER
void foo() {
}|
CURSOR_UP, END
void foo() {|
}
ENTER
void foo() {
|
}
The "problem" is that their is a slight different behavior if the brace is on the same line or the next line.
On next line the flow is like that:Codevoid foo()|
ENTER
void foo()
|
BRACE_OPEN
void foo()
{
|
}
To achive the same on same line the flow is like that:Codevoid foo() |
BRACE_OPEN
void foo() {|}
ENTER
void foo() {
}|
CURSOR_UP, END
void foo() {|
}
ENTER
void foo() {
|
}
This happens with the settings Auto indent and Smart indent on, there is no difference if Brace Smart indent is on or off.