Closed ghnp5 closed 6 months ago
Is your workspace that big? 200k files is close to the upper limit that the extension supports. Do you get the same issue with smaller workspaces?
Thank you.
Most of those files are Composer packages files, under "vendor". I let Intelephense index them, so their APIs can auto-complete and show documentation. (I don't have many packages installed)
My project only has 1188 php files.
--
I've just tested on a workspace with 672 files, and it completed in 0.3s, using version 1.10.3.
I updated to 1.10.4, and it worked fine:
[Info - 1:54:56 AM] Indexing started. [Info - 1:58:31 AM] Indexing ended. 200016 files indexed in 215s. [Info - 1:58:31 AM] Writing state to c:\Users\xxxxx\AppData\Roaming\Code\User\workspaceStorage\e325b08053b70b851469f25294102f7f\bmewburn.vscode-intelephense-client\6c399aaa. [Info - 1:58:39 AM] Wrote state in 7.8s.
I'm not sure why the logs that I pasted here, in my original message above, had a smaller number of files:
[Info - 11:50:03 PM] Indexing ended. 149905 files indexed in 148s.
I'll continue to monitor.
Great! I'll close this ticket for now as it is now working for you.
Since the update today, to 1.10.3, I keep seeing "intelephense 1.10.3 indexing ..." in the status bar, non-stop.
Using Windows 11.
The logs appear to say the indexing ended, though.
But still seeing this:
Looking at the logs,
earlier today, it seems the indexing took 15 minutes!
Notes: