Code::Blocks Forums

User forums => Help => Topic started by: Giovanni62 on February 24, 2016, 12:27:30 am

Title: [Solved] brackets
Post by: Giovanni62 on February 24, 2016, 12:27:30 am
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
{

}

Ubuntu-Gnome

Code
{}
Title: Re: brackets
Post by: CJS on February 24, 2016, 08:58:29 am
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
Title: Re: brackets
Post by: Giovanni62 on February 24, 2016, 06:22:31 pm
I tryed, but it don't work :-\
Title: Re: [Solved] brackets
Post by: Giovanni62 on February 24, 2016, 06:51:45 pm
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