Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: lescho on August 07, 2010, 06:23:50 pm

Title: Patch to make '--add-brackets / -j' option available in astyle plugin
Post by: lescho on August 07, 2010, 06:23:50 pm
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 (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
Title: Re: Patch to make '--add-brackets / -j' option available in astyle plugin
Post by: killerbot on August 08, 2010, 10:34:39 am
sounds good. If there are no objections I will apply it this evening.
Title: Re: Patch to make '--add-brackets / -j' option available in astyle plugin
Post by: MortenMacFly on August 08, 2010, 11:37:48 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... :-)
Title: Re: Patch to make '--add-brackets / -j' option available in astyle plugin
Post by: killerbot on August 08, 2010, 06:58:35 pm
applied