Repository navigation
How to speed up searching reference symbol? (textDocument/reference) #3554
Unanswered
Andrii Maksymov (amaksymov)
asked this question in
Q&A
Replies: 1 comment 1 reply
|
Pyright is focused on type checking, not on language server features like "find references". It does have a minimal reference implementation for some language server features, but there are limitations like the one you've noted here. Pylance provides premium language server features including indexing that speeds up functionality like "find references". If you want these premium language server features, you would need to switch to VS Code. There are extensions for VS Code that provide Vim key bindings and other Vim functionality. |
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.
I am working on a large code base and when I want to find all references to a function/method/class/variable and it takes a long time every time. How can I speed it up, maybe cache it or something like that?
As I understand it, pylance is responsible for this in VSCode, but pylance only comes with VSCode, in my case I use NeoVim. Maybe there are tools that speed up the search for links, but after a week of research I found nothing how to speed up that proccess.
I will be glad to any suggestions
All reactions