[Bug 46684] code completion reacts on dot operator for pointer to struct

Andrew Skiba andrew_skiba at mail.ru
Wed Jan 14 10:54:02 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=46684      




------- Additional Comments From andrew_skiba at mail.ru  2004-01-14 10:53 -------
Subject: Re:  code completion reacts on dot operator for pointer to struct

Hello Jacques,

Wednesday, January 14, 2004, 11:44:12 AM, you wrote:

JA> ------- You are receiving this mail because: -------
JA> You reported the bug, or are watching the reporter.
      
JA> http://bugs.kde.org/show_bug.cgi?id=46684      




JA> ------- Additional Comments From jacques.abada at arcanthea.com  2004-01-14 10:44 -------
JA> Wouldn't it be better to implement a feature in code completion that automagically change the operator to the correct form (typing . change to -> if the var is defined as a pointer). That's how
JA> I'm used with in Windows/Visual Assist
 

Looks a terrible feature to me! If I write statement foo->bar for
an  object, the editor would change it to foo.bar, but what if I meant
operator  -> ()? To check the class definition for operator -> () is
not a good solution, too, because one can intend to fix the class
definition later. There is no reason to copy the disturbing behaviour
of Microsoft user interface, which forces you to do things in the
way they like, not in the way you like.




More information about the KDevelop-devel mailing list