Replies: 1 comment 1 reply
-
|
there is a configurable limit as it's quite an expensive operation: https://phpactor.readthedocs.io/en/master/reference/configuration.html#languageserverindexerextension it's set as default to 250 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is further to: #2844
I'm not sure where the problem is but I've tried using both snacks.nvim and telescope and described the issue here thinking it was a snacks.nvim issue: folke/snacks.nvim#1060
The problem is, on projects with > 200 files (or higher if the limit is increased) lsp workspace symbols is incomplete.
This happens in both Telescope and Snacks. I'd imagine how it should work is the picker sends the request to the LSP and the LSP returns the results. It seems like something is going wrong during that process.
If It type into either snacks or telescope:
I get a tiny subset of results. There are around 600 classes in the project with that namespace yet I get fewer than 10 results.
According to the author of snacks.nvim, that list is coming directly from the LSP. Is there a way (or an alternative picker) that works with a large number of classes in the project?
How can I debug this further? Either the picker or phpactor is not working as intended
If I increase the limit as described in #2844 it increases the results.
Beta Was this translation helpful? Give feedback.
All reactions