Hi @Jocelyn and @Ryan_St_Pierre, could you try adding paths to cursorpyright.analysis.exclude? This will limit the # of files that are getting analyzed, which should help improve performance.
Cloning the repo in a different directory and starting from that fixed it for me, but I suspect there is an underlying issue that it just side-step. Other team mates are still reporting the issue.
@ravirahman added to exclude all files and i added [tool.pyright]
typeCheckingMode = “off”
After doing both and restart still a problem . Takes minutes spinning on “Finding References” . unusable at this point for me
This seems like a recent issue. did something change? I’m pretty confused bc non of my IDE’s have this problem. Including VSCode on the same repo. Using pycharm now and also fine
If it’s stuck on Finding References, that sounds like the language server has crashed. Could you take a look at the “Cursor - Pyright” and “basedpyright” output consoles? It might also help to give more RAM to the language server; we default to ~1/2 of the available RAM, but for large projects, sometimes more can be helpful. You can increase it via the setting cursorpyright.nodeMaxOldSpaceSize.
Is there a good way to figure out where cursorpyright is spending most of its time finding references? Unable to find this info in the output consoles.