Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: alle_meije on November 30, 2010, 12:21:05 pm

Title: formatter crash
Post by: alle_meije 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
Title: Re: formatter crash
Post by: xunxun on November 30, 2010, 12:51:51 pm
You may download the prebuilt package from https://sourceforge.net/projects/astyle/.
Title: Re: formatter crash
Post by: MortenMacFly 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?
Title: Re: formatter crash
Post by: Jenna 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.