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
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.