User forums > Help
Curly bracket formatting after functions
(1/1)
ground-zero:
Hi,
I have run into a minor problem with the curly bracket formatting after functions.
I like to put the opening bracket at the end of the line, not on its own, like this:
--- Code: ---while (true){
}
--- End code ---
So to type this i start off with
--- Code: ---while (true){}
--- End code ---
then put the cursor between the brackets and hit enter - which produces something like the first example with the cursor placed on the middle line.
However when i do this with a function
--- Code: ---int main(){}
--- End code ---
and do the same, i get
--- Code: ---int main(){
}
--- End code ---
with no middle line inserted. Its quite a small problem but its annoying me to no end. I've tested this on v13.12 on both windows 7 and arch linux and both seem to have the same problem. Does anyone know of a fix for this? Thanks.
marcelinux:
http://www.codeblocks.org/docs/main_codeblocks_en.html
or
http://www.codeblocks.org/docs/main_codeblocks_en.html
can be useful.
Navigation
[0] Message Index
Go to full version