News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

[Solved] brackets

Started by Giovanni62, February 24, 2016, 12:27:30 AM

Previous topic - Next topic

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

{

}


Ubuntu-Gnome


{}

CJS

Try this - from main menu - Settings / Editor / General settings - Editor settings tab
Under Indent Options, uncheck "Smart indent".

Related thread:
http://forums.next.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