| Summary: | code beautifier dosn't work with a method called "remove()" | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Andreas Pietzowski <andreas> |
| Component: | Astyle | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.1.1 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
it happens because of the bracket on the same line. Fixed in the KDevelop 3.4 branch as part of this commit: SVN commit 595657 by dymo: Applied patch from Megan Webb: Update to the astyle plugin to use astyle v1.19 Changes: - layout of the formatting dialog has changed to mirror the astyle command line options help. - all options from commandline astyle can be set. - interactive display of most options selected. - tooltips for all options |
Version: 3.1.1 (using KDE 3.3.1, SuSE) Compiler: gcc version 3.3.3 (SuSE Linux) OS: Linux (i686) release 2.6.4-52-default Hi, I use the code-beatifier within Kdevelop and everything works fine but when I have a method called if ( a->remove() ){ ... } the beautifier produces this: if ( a->remove () ) { ... } Shouldn't be, right? It only happens when a method is called "remove" without a parameter! Maybe you can fix this small bug in a future release. Nice application anyway! Keep on the good work! Nice day Pietz