Request for feedback on Signature Assistant
Sven Brauch
svenbrauch at googlemail.com
Sun Oct 31 12:04:28 UTC 2010
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 :)
Best regards,
Sven
2010/10/31 David Nolden <zwabel at googlemail.com>
> IMO the signature-assistant has one big conceptual problem: It always
> rewrites the whole function declaration line. Since in C++ there is
> many redundant ways how to write type-names, this will always cause
> problems.
>
> I think the right way to work would be remembering a sequence of
> edits, like for example:
> - Replace 1st argument with ...
> - Remove 3rd argument
> - Remove 4th argument
>
> And then replaying those changes on the other side. That way, we would
> overwrite only those parts that were actually changed, and we might
> also solve matching-problems in places where the argument-declaration
> names don't match properly etc.
>
> Greetings, David
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101031/b67b8017/attachment-0001.html>
More information about the KDevelop-devel
mailing list