Invoking AStyle formatting with selection crashes CodeLite

Post here any ideas/problems/suggestions you have regarding CodeLite's CodeFormatter (AStyle) plugin
limestone
CodeLite Curious
Posts: 3
Joined: Tue Feb 24, 2015 4:59 pm
Genuine User: Yes
IDE Question: C++
Contact:

Invoking AStyle formatting with selection crashes CodeLite

Post by limestone »

Invoking AStyle code formatting with selected (highlighted) text in active editor window crashes CodeLite. This has been happening quite a long time up to and including current 11.0.4. Versions before 11 simply hung, 11.0.x displays "Unhandled exception" dialog, where at least I can choose "Ignore" and save changes before restarting CodeLite.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Invoking AStyle formatting with selection crashes CodeLi

Post by eranif »

Thanks for reporting this. Can you please open a bug report?
I suspect no one noticed this, because most of us are using clang-format
Thanks!
Make sure you have read the HOW TO POST thread
ColinTaylor
CodeLite Expert
Posts: 152
Joined: Fri Jul 15, 2011 2:49 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Invoking AStyle formatting with selection crashes CodeLi

Post by ColinTaylor »

I have have just raised a codelite bug for this, as I use AStyle

See https://github.com/eranif/codelite/issues/1821
Post Reply