User forums > Using Code::Blocks

How to make automatic indent after opening braces?

(1/1)

Quentin028:
Hi,

I'm using Code::Blocks 12.11 and I'd like you to remind me how can I set IDE's options in order to enable automatic indent after opening braces?

What I mean is, after opening a brace, how to make cursor:


--- Code: ---{|} <--- cursor
--- End code ---

go in here:


--- Code: ---{
    | <--- cursor
}
--- End code ---

?

I had it enabled in C::B 10.05 but now I can't recall how to get it working again...

Alpha:
Are the SmartIndent* plugins installed and enabled?

Quentin028:
Oh, so it's the plugin I need... Unfortunately I can't install any additional add-ons on my Ubuntu 12.10:

According to the C::B website:


--- Quote ---Important note for Ubuntu users: The contrib-plugins package for debian can not be used on Ubuntu 12.04 and 12.10, due to an incomaptible libhunspell-package. Alternatively you can use the Ubuntu repo provided by our user pasgui.
--- End quote ---

oBFusCATed:

--- Quote from: Quentin028 on December 30, 2012, 07:13:03 pm ---Alternatively you can use the Ubuntu repo provided by our user pasgui.
--- End quote ---
Try this one...

and the link is: https://launchpad.net/~pasgui/+archive/ppa/ (probably)

Jenna:
That's how the note on the website really looks like (note, that the word repo is a link to pasgui's repo):

--- Quote from: http://www.codeblocks.org/downloads/26#linux64 ---Important note for Ubuntu users: The contrib-plugins package for debian can not be used on Ubuntu 12.04 and 12.10, due to an incomaptible libhunspell-package. Alternatively you can use the Ubuntu repo provided by our user pasgui.
--- End quote ---

Navigation

[0] Message Index

Go to full version