Pylance broken in 2.2.20

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Pylance seems to be bugged in v2.2.20

I had a lot of trouble in the last months with Python language server and Cursor, as highlighted in several posts here.

Today it seems all my config is broken.

I tried to follow past months posts :

  • Uninstall Anysphere Python + install Pylance from external source from .vsix file. I can see pylance extension installed now but still after setting it in my config, it does not work.
  • I tried the ruff language server with no success.

At this point, I went back to VS code with Claude Code on top (works perfectly) because Cursor is a joke regarding stability.

Could someone help me on this ? Did you encounter similar issue ?

Steps to Reproduce

Install Cursor v2.2.20

Expected Behavior

Pylance features should work if selected as Python language server

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.20
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z (3 days ago)
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.3.0

Does this stop you from using Cursor

Yes - Cursor is unusable

To make Cursor usable, I had to uninstall pylance, select Default or Jedi language server, and that works.

Could you make Pylance work in Cursor please ?

Looking at your screenshot, the Output log shows "Editor support is inactive since language server is set to None". This suggests a settings conflict.

  1. Open Settings (Cmd + ,) and search for python.languageServer
  2. Make sure it’s set to Default or Pylance - not None
  3. Check both User and Workspace settings, as workspace settings can override user settings

Also consider trying Cursor Pyright
See: Python | Cursor Docs

Actually this is not the issue @sanjeed5 . As highlighted above, I tested many configurations, and the one is the screenshot is one of the many tries I did to make pylance work, without success.
And one of these tries was indeed to have the language server set to Pylance (in user AND workspace settings of course) with the external extension installed, and it does not work.

I am not looking for a fix on the screenshot above, but for advices to make Pylance work.

Can you confirm Pylance is still not supported in Cursor, or share a link with the process to use Pylance please ?

Hey @Michael_Romagne, apologies for misunderstanding your issue earlier! I see now you’ve already tried the python.languageServer settings, my bad.

To answer your question: Pylance is not supported within Cursor. Ravi from the Cursor team mentioned this here. The recommended replacement is Cursor Pyright, which they built as an officially supported alternative.

The official Cursor Python docs outline the recommended setup

If you had custom Pylance settings, you can run Cursor Pyright: Import Pylance Settings from the command palette to migrate them.

Ok thanks for clarifying

Have a good day

1 Like

You too @Michael_Romagne

Happy coding!

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