phptools-docs
phptools-docs copied to clipboard
Reference count on code lenses always equal to 0 on original file opened.
Hi,
Thanks for create awesome plugin for PHP community.
When I open a file, the code lenses indicating references always shows 0, even though there are functions in other files that reference that method (picture 1).
Can you please check?
Thank you.
Thank you @quyle92 , and thank you for reporting the issue.
This looks like the other files are not indexed yet; isn't there a high CPU use or "processing" icon at the bottom status bar?
Maybe the extension fails to index some of your files, so we would have to fix it.
Thanks for your reply.
Actually no. My file is short, only less than 40 lines of code.
And most of the time, it only shows the count number correctly when I go to the referenced file and click on it.
Like I have foo()
in ClassA
, and in ClassB
I have bar()
calling foo()
, when I go to ClassB
and click on foo()
, then the count start reflecting the change..