Maybe also the style kdevelop uses for updating declarations could be made customizable (or, better yet, be copied from the corresponding declaration / definition)? For example, it currently writes QList< int >, but I like QList<int> better (mixing both is especially crappy); and having to re-edit every declaration kdevelop changes makes this feature less useful than it would otherwise be :)<br>
<br>Best regards,<br>Sven<br><br><div class="gmail_quote">2010/10/31 David Nolden <span dir="ltr"><<a href="mailto:zwabel@googlemail.com">zwabel@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
IMO the signature-assistant has one big conceptual problem: It always<br>
rewrites the whole function declaration line. Since in C++ there is<br>
many redundant ways how to write type-names, this will always cause<br>
problems.<br>
<br>
I think the right way to work would be remembering a sequence of<br>
edits, like for example:<br>
- Replace 1st argument with ...<br>
- Remove 3rd argument<br>
- Remove 4th argument<br>
<br>
And then replaying those changes on the other side. That way, we would<br>
overwrite only those parts that were actually changed, and we might<br>
also solve matching-problems in places where the argument-declaration<br>
names don't match properly etc.<br>
<br>
Greetings, David<br>
<div><div></div><div class="h5"><br>
--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</div></div></blockquote></div><br>