Hi,<br>
<br>
I think it's fair to say a few people have problems with the source formatter. <br>
See
<a href="http://bugs.kde.org/buglist.cgi?product=kdevelop&component=astyle&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED">http://bugs.kde.org/buglist.cgi?product=kdevelop&component=astyle&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED
</a><br>
<br>
At about the time KDevelop started using the astyle library, it went
unmaintained. It seems it hasn't seen a release since early 2002.<br><br>
<br>
// jens<br>
<br>
<br><div><span class="gmail_quote">On 11/30/05, <b class="gmail_sendername">Andreas Pakulat</b> <<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>now this finally bugged me enought to ask for help.<br><br>The "source formatter" for cpp files is not behaving as expected, for<br>example it produces this:<br><br>class DataPtrList : public QObject<br>
{<br>public:<br> DataPtrList( QObject* parentForElements );<br> bool DataPtrList<T>::isValid() const;<br> void remove<br> ( T* t );<br><br>See that the parentheses for remove are on the next line? I have not<br>
identified any cause for this, as other parentheses are not put into the<br>next line (see the constructor above for example). This not only happens<br>on class declarations, but also for function calls like<br><br>mylist->remove(myobj);
<br><br>I'm not sure this is all my changes but that's all I could find, from<br>config/kdeveloprc:<br><br><br>,----[ kdeveloprc ]-<br>| [AStyle]<br>| IndentSwitches=true<br>| KeepBlocks=true<br>| KeepStatements=true<br>| PadOperators=true
<br>| PadParentheses=true<br>`----<br><br>If there are options elsewhere please tell me so I can post those too.<br>Oh, btw: I use the custom style.<br><br>Anybody got similar problems with the source formatter?<br><br>Andreas
<br><br>--<br>There was a phone call for you.<br><br>_______________________________________________<br>KDevelop-devel mailing list<br><a href="mailto:KDevelop-devel@barney.cs.uni-potsdam.de">KDevelop-devel@barney.cs.uni-potsdam.de
</a><br><a href="http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel">http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br></blockquote></div><br>