[Bug 61263] find callers of functions

rkoch at rkoch.org rkoch at rkoch.org
Wed Jul 16 10:49:02 UTC 2003


------- 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=61263     




------- Additional Comments From rkoch at rkoch.org  2003-07-16 10:48 -------
Subject: Re:  find callers of functions         

Let me first say, I am really impressed with gideon. It shows a lot of
potential! Excellent work so far. I am really looking forward to the
stable releases.

The specific feature I was looking for is still not present, although
the grep works, as long as it is looking for pointers as foo->doit();
foo.doit() is not found. My coworkers did not all master regular
expressions. For them, a "find callers" item that simply does what is
requested without intimidating them with a dialog sporting an arcane
regex would be close to ideal. That menu item should be in the class
view - the context menu of a function.

The regex
(\.|\->|::)[\t ]*\<%s\>[\t ]*\(

is getting close. It finds the function definition itself and the "\fn
ClassName::doit(), however - we may filter it out in a second pass.

This would also find Bar::doit() even if Bar has nothing to do with
Foo, but - nobody is perfect.

-Rudiger

--- Amilcar do Carmo Lucas <a.lucas at tu-bs.de> wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>      
> http://bugs.kde.org/show_bug.cgi?id=61263     
> 
> 
> 
> 
> ------- Additional Comments From a.lucas at tu-bs.de  2003-07-15 17:17
> -------
> ftp://ftp.kde.org/pub/kde/unstable/snapshots/kdevelop.tar.bz2




More information about the KDevelop-devel mailing list