Cursor cannot install latest Pylance extension.
The latest version in vscode is 2025.2.1
. But Cursor can only install 2024.8.1
.
Since version 2024.8.1
, this extension has introduced a lot of bug fixes.
One of the fixed bugs is incorrectly identified unreachable code
unrelated, but i’d recommend checking out ruff instead of pylance
hope team looks into this bug
jiun
February 13, 2025, 1:05pm
3
Python extensions including Pylance in Cursor are locked for updates, and many bugs and security issues have been reported. I’ve also looked into various solutions, but it seems difficult to resolve unless the Cursor team provides a solution.
Hey, to be clear, what I mean by “fixed version” is that we lock the version of PyLance, so it cannot be updated to a higher version that will not work in VSCode, there is no “fix” that we have applied to Pylance within Cursor.
I’m observing inconsistencies between python testing in VS Code and Cursor. I’m specifically running Django unittests.
One issue is that Cursor is unable to discover all of my tests, but they show in VS Code. See example below showing a missing test_admin.py file.
Example:
Cursor on left, VS Code on right
[cursor_v_vs_code]
Another issue I’ve seen is inconsistent test results. Tests will fail occasionally in Cursor but will always work when running in VS Code or directly from the terminal. …
Hey all,
Loving cursor. I wanted to encourage the development team to please keep up-to-date with the upstream VSCode repo, as otherwise there can be major security risks in user extensions which are not automatically updated due to version incompatibility.
For example: there is a known high-severity CVE for the main Python extension: NVD - CVE-2024-49050 . This was patched by v2024.20.0 .
However, the current version of Cursor is stuck on an old version of the Python extension - version v2024.…
2 Likes
sanjeed5:
ruff
I thought ruff was just a formatter. I just checked the Ruff docs and found it comes with a language server and supports python.
Thanks for the tip!
1 Like
radu
February 28, 2025, 11:03am
5
since i’m running into issues with pylance (takes 80s+ on that 2024.8.1 version that we get from cursor), i’ve been trying to set up ruff as the LSP. does it do proper syntax highlighting for you?
"ruff.nativeServer": true,
"ruff.trace.server": "verbose",
"ruff.configuration": "${workspaceFolder}/pyproject.toml",
these are the settings i passed to it. also, what did you set your:
"python.languageServer": "None",
to?