User forums > Help
[Solved] brackets
(1/1)
Giovanni62:
I installed codeblocks 16.01 on Ubuntu 15.10 and Ubuntu - Gnome 15.10, but while on Ubuntu as I enter the braces , the brackets are automatically open on two separate lines, on Ubuntu-Gnome this does not happen. :-\
Ubuntu
--- Code: ---{
}
--- End code ---
Ubuntu-Gnome
--- Code: ---{}
--- End code ---
CJS:
Try this - from main menu - Settings / Editor / General settings - Editor settings tab
Under Indent Options, uncheck "Smart indent".
Related thread:
http://forums.codeblocks.org/index.php?topic=19988.0
Giovanni62:
I tryed, but it don't work :-\
Giovanni62:
I solved :D
I installed the packages that I realized they were missing compared to Ubuntu, and now it works.
codeblocks-contrib-common
codeblocks-libwxcontrib0
codeblocks-common
Navigation
[0] Message Index
Go to full version