Author Topic: [Solved] brackets  (Read 2812 times)

Offline Giovanni62

  • Multiple posting newcomer
  • *
  • Posts: 21
[Solved] brackets
« 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
{}
« Last Edit: February 24, 2016, 06:48:32 pm by Giovanni62 »

Offline CJS

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: brackets
« Reply #1 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

Offline Giovanni62

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: brackets
« Reply #2 on: February 24, 2016, 06:22:31 pm »
I tryed, but it don't work :-\

Offline Giovanni62

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: [Solved] brackets
« Reply #3 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