Cursor pyright slooooooow

Describe the Bug

Cursor has almost become unusable since switching from pylance. I am not sure what else it would be.

is this pyright.. the inline suggestions loading ?

Steps to Reproduce

Write python code with the extension installed

Expected Behavior

I expect it not to lock up cursor while it is thinking

Screenshots / Screen Recordings

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:59:43.242Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.12.10-76061203-generic

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

+1 for this. I do all of my Python development in Cursor and I’ve also been experiencing severe lags/delays with inline suggestions since switching to the anysphere Python extension (v1.0.7). It has really changed my editing experience - is there a fix planned soon? If not, I may switch back to the old ms python extension.

1 Like

fwiw, I disabled type checking (see setting below), this eliminated the problem. I think the issue is that we are not using type hints in our code base (we do in some rare cases). This means pyright has to try to figure out what the types should be. We just need to decide if we want to use type hints or not, and, if we do, we need to start using them and then I think pyright will not need to work as hard… I hope.

"cursorpyright.analysis.typeCheckingMode": "off",

Hi @whe and @rfeinman, could you try using the pyrefly or ty extensions?


These language servers are implemented in Rust, so I would expect their performance to be much better. However, they do not yet support the same configuration options.

yes will do, should I disable/uninstall the cursor pyright extension, if I install one of these? thank you!

Yes, please disable the Cursor Python extension so they don’t conflict.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.