Version: 3.3.0 (using KDE KDE 3.3.1) Installed from: RedHat RPMs OS: Linux Hi, Although not critical, I am having a problem with the source formatter. If there is a struct in the source then this gets screwed up. Because my English is not good enough to describe that problem I am gonna give an example right away... This: struct test { int a; int b; }; static struct test test_instance = { .a = 1, .b = 2 }; >>>> becomes : struct test { int a; int b; }; static struct test test_instance = { .a = 1, .b = 2 }; I have recently started using the source formatter feature and it is clearly a killer feature. I would love to see it fixed. If you can give me some directions in the source code I, myself too try to fixed it. Regards, Hasan Ceylan
KDevelop uses the astyle library (http://astyle.sf.net/) which sadly seems to have stopped being maintained. In the KDevelop source you can find it in kdevelop/lib/astyle
That's bad news. Is there any plan to move on to a different source formatter. Given the pace open software development currently has, I am sure there is newer and (maybe) better alternatives. Thanks for the prompt response and the quality application for the kdevelop guys! Hasan Ceylan
what are the dots for in the static struct?
Bug #89140 and this bug are the same problem. Basically, the use of the equals sign confuses astyle. *** This bug has been marked as a duplicate of 89140 ***