News:

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

Main Menu

Patch to make '--add-brackets / -j' option available in astyle plugin

Started by lescho, August 07, 2010, 06:23:50 PM

Previous topic - Next topic

lescho

Hello,

a played around with the astyle plugin and found out that the most important option, from my personal point of view, wasn't available. It is the '--add-brackets / -j' option, see http://astyle.sourceforge.net/astyle.html#_add-brackets. I'm not sure what the right procedure is, but I made a patch against trunk(rev. 6454). Hope that's OK this way.

Lescho

killerbot

sounds good. If there are no objections I will apply it this evening.

MortenMacFly

Quote from: killerbot on August 08, 2010, 10:34:39 AM
sounds good. If there are no objections I will apply it this evening.
I got a pending patch for astyle, too. Hopefully it'll not conflict. However, it seems that this is rather small - so go ahead, but keep it in mind in case I need help later... :-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

killerbot