News:

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

Main Menu

How to make automatic indent after opening braces?

Started by Quentin028, December 28, 2012, 10:56:31 AM

Previous topic - Next topic

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:

{|} <--- cursor

go in here:

{
    | <--- cursor
}


?

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:

QuoteImportant 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.

oBFusCATed

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

and the link is: https://launchpad.net/~pasgui/+archive/ppa/ (probably)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

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#linux64Important 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.