Author Topic: formatter crash  (Read 4527 times)

Offline alle_meije

  • Multiple posting newcomer
  • *
  • Posts: 29
formatter crash
« on: November 30, 2010, 12:21:05 pm »
Hi all,

My favourite plugin of all time must be the source code formatter. I use it to give all my code the same look.

However it crashes when I import an existing source code tree  such as FFTW and click 'format this project (Astyle)'
I think the problem is that the editor has too many files open at the same time.
Would it be possible to run this from the command line or something?

Many thanks
Alle Meije

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: formatter crash
« Reply #1 on: November 30, 2010, 12:51:51 pm »
You may download the prebuilt package from https://sourceforge.net/projects/astyle/.
Regards,
xunxun

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: formatter crash
« Reply #2 on: November 30, 2010, 02:06:31 pm »
However it crashes when I import an existing source code tree  such as FFTW and click 'format this project (Astyle)'
What are the exact sources / steps to reproduce? Because it works fine here.

In addition: Platform, version? Did you try with a nightly?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: formatter crash
« Reply #3 on: November 30, 2010, 02:34:56 pm »
I just formatted the whole C::B core project (on debian 64-bit with C::B from trunk) and it works without problems.