User forums > General (but related to Code::Blocks)

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

(1/2) > >>

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:
Do you have the SmartIndent plugins installed and enabled?

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?

--- End quote ---
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.

Navigation

[0] Message Index

[#] Next page

Go to full version