Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.10.3 seems to be always indexing #2827

Closed
ghnp5 opened this issue Mar 25, 2024 · 4 comments
Closed

1.10.3 seems to be always indexing #2827

ghnp5 opened this issue Mar 25, 2024 · 4 comments

Comments

@ghnp5
Copy link

ghnp5 commented Mar 25, 2024

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.

[Info - 11:47:24 PM] Initialising intelephense 1.10.3
[Info - 11:47:24 PM] Reading state from c:\Users\xxxxx\AppData\Roaming\Code\User\workspaceStorage\e325b08053b70b851469f25294102f7f\bmewburn.vscode-intelephense-client\31d289cf.
[Info - 11:47:28 PM] Intelephense premium features enabled.
[Info - 11:47:28 PM] Initialised in 3637 ms
[Info - 11:47:28 PM] Searching file:///c%3A/Users/xxxxx/.vscode/extensions/bmewburn.vscode-intelephense-client-1.10.3/node_modules/intelephense/lib/stub for files to index.
[Info - 11:47:28 PM] Searching file:///f%3A/Files/Git/repo1 for files to index.
[Info - 11:47:31 PM] Searching file:///f%3A/Files/Git/repo2 for files to index.
[Info - 11:47:33 PM] Searching file:///f%3A/Files/Git/repo3 for files to index.
[Info - 11:47:34 PM] Indexing started.
[Info - 11:50:03 PM] Indexing ended. 149905 files indexed in 148s.
[Info - 11:50:03 PM] Writing state to c:\Users\xxxxx\AppData\Roaming\Code\User\workspaceStorage\e325b08053b70b851469f25294102f7f\bmewburn.vscode-intelephense-client\31d289cf.
[Info - 11:50:10 PM] Wrote state in 7.2s.

But still seeing this:

image

Looking at the logs,
earlier today, it seems the indexing took 15 minutes!

[Info - 11:25:29 PM] Indexing started.
[Info - 11:40:13 PM] Indexing ended. 200016 files indexed in 884s.


Notes:

  • I restarted VS Code before raising this issue.
  • Downgrading to the previous version seems to fix this issue.
  • I'm using the paid version (in case that makes any difference!)
@bmewburn
Copy link
Owner

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?

@ghnp5
Copy link
Author

ghnp5 commented Mar 26, 2024

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.

@ghnp5
Copy link
Author

ghnp5 commented Mar 26, 2024

#2828 was also happening to me, I noticed. But didn't seem to happen when I had raised this Issue.

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.

@bmewburn
Copy link
Owner

Great! I'll close this ticket for now as it is now working for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants