News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

[SOLVED] Code::Blocks SVN 8599 - Typing '{' does not put cursor on next line

Started by Linux_dWiebe, December 11, 2012, 10:58:13 PM

Previous topic - Next topic

Linux_dWiebe

Is this an aspect of CB from now on? Or is it customizable via a setting?

Description of problem:
Editing a .c file....
Type '{' and CB automatically makes this '{|}' with the cursor where the '|' is.

What I like it to do is this:
Type '{' and it goes to this:
{
    |
}

with the '|' being the cursor.

Any help would be appreciated.

Alpha


killerbot

what you described, used to be like that for sure for a c++ file, but last 24 hours some commits occurred, not sure if they influenced this ?

Linux_dWiebe

Quote from: Alpha on December 13, 2012, 11:57:48 PM
Do you have the SmartIndent plugins installed and enabled?
I didn't, but I do now. I installed codeblocks-contrib and made sure SmartIndent was enabled and it works now. Thanks a lot!

pokemon

Where can I plug Smartident? I installed codeblocks-contrib taken from "deb http://apt.jenslody.de/testing testing main". I write in C. In the list of plugins Smartiden not.

Jenna

Quote from: pokemon on January 23, 2013, 08:02:49 PM
Where can I plug Smartident? I installed codeblocks-contrib taken from "deb http://apt.jenslody.de/testing testing main". I write in C. In the list of plugins Smartiden not.
The plugin libs have been renamed, you might need to run sudo dpkg-reconfigure codeblocks-contrib and make sure that the SmartIndent-plugins (and probably others) you need are checked.

pokemon


Jenna

I just committed a change to the debconf-config files, that make sure the question which plugins should be loaded is asked again, if the plugins list has changed.