Author Topic: Patch to make '--add-brackets / -j' option available in astyle plugin  (Read 8227 times)

Offline lescho

  • Single posting newcomer
  • *
  • Posts: 2
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

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5179
Re: Patch to make '--add-brackets / -j' option available in astyle plugin
« Reply #1 on: August 08, 2010, 10:34:39 am »
sounds good. If there are no objections I will apply it this evening.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: Patch to make '--add-brackets / -j' option available in astyle plugin
« Reply #2 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... :-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5179
Re: Patch to make '--add-brackets / -j' option available in astyle plugin
« Reply #3 on: August 08, 2010, 06:58:35 pm »
applied