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:
void foo()|
ENTER
void foo()
|
BRACE_OPEN
void foo()
{
|
}
To achive the same on same line the flow is like that:
void 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.
ty for replaying , last thing I will say before I will close the topic ,
can I change codeblocks behavior so it ccan do that
int main () {press enter}
int main () {
random codes
}
with pressing enter only .
bekabo out . ty = thank you