Why is "Show uses" sometimes so slow?

Steffen Ohrendorf steffen.ohrendorf at gmx.de
Wed May 30 15:03:43 UTC 2012


Am Mittwoch, 30. Mai 2012, 13:49:07 schrieb Milian Wolff:
> As soon as you want to find uses though, all potential files must be
> reparsed with the AllDeclarationsContextsUses flag which takes time but is
> the only "correct" way to find *all* uses of a given declaration.

Maybe I'm wrong, but to me it seems that when I search for uses, KDevelop 
scans _all_ files, even those where the declaration isn't imported. This might 
be due to the availability of forward declarations, but if this is the case, 
do these files get a lower priority?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20120530/9639ef68/attachment.html>


More information about the KDevelop-devel mailing list