Language Server Issues

Describe the Bug

Hi, I’m having some weird issues with how cursor is handling syntax highlighting, code actions, and python kinda in general. It was working fine a few hours ago, but in the process of messing with my extensions it appears to have broken all of the app.

Issue 1: Code actions have vanished (nominally a popup here would tell me to try importing the JSON module) – this is with type checking mode off. with it on it will show actions available and that there’s an error but the error has no fix other than ask AI even though the package is installed

Issue 2: Syntax highlighting varies from slightly to completely off at some points/my compiler isn’t recognizing some methods as methods (?) especially weird because again a few hours ago this issue was not present

Signal helpers is an imported class, the expected behavior is it shows up in the yellow color yet this has stopped working as expected

Issue 3: The python language server itself is where I think I’m having trouble and where all these issues might be stemming from (though I’m really not sure). For example, the “basic” type check mode (which I previously had on) would show no errors in code but now it’s blowing up with errors in code, and now it’s blown up and is super unhelpful.

Running ‘Cursor Pyright: Import Pylance Settings’ has no effect on the issues I’m facing. These isssues seem similar to what is documented in Unable to find Pylance in the extension marketplace - #4 by Ryan_Wong, though this thread has no clear fix.

Extensions are anysphere python, black formatter, python debugger, isort, and ms-python
Along with the Default Dark+ theme.

Something is pretty broken here and I’m not very sure how to go back to the state where cursor and its associated coloring was just working.

Steps to Reproduce

I’m not sure how i got here is part of the issue

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.0 (Universal)
VSCode Version: 1.99.3
Commit: eb5fa4768da0747b79dc34f0b79ab20dbf582020
Date: 2025-07-01T19:50:48.143Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.2.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

1.2.0 update broke syntax highlighting and language servers for me.
Not limited to Python, happens on TS as well.

1 Like

hi @Noja121 thank you for the detailed bug report. I will flag this for review.

cc @ravirahman

oh word okay lol it might also just be possible i didnt notice until now

any chance you were using a custom marketplace? that was causing the issues for me.

1 Like

Very likely an issue as Cursor is using OpenVSX marketplace. OpenVSX built VSCode has certain requirements. See Settings > extensions.gallery.serviceUrl for GUI

Same for me, none of the language servers work. I’m using OpenVSX, Cursor’s default marketplace.

@yagiz Could you check if some extensions are becoming disabled? I’ve bumped this up to Cursor Team for review.

(more info on pre-release of v1.2 Cursor v1.2 - Pre-release Discussions)

Extensions are not becoming disabled, but it seems like language related ones do not work even though they’re enabled. (Python, Rainbow CSV, json etc.)

Other extensions work fine, and the extensions tab keeps loading and I cannot make any searches there.

@yagiz thank you for checking. Marketplace search not working is OpenVSX related. Could you check and post Cursor Settings > Networking > Network Diagnostics?

On my side search works, so it would help to narrow down causes.

In Network Diagnostics everythings seems to be okay including the Marketplace.

1 Like

Cross checking more details, thanks for your patience. If you can check some language related settings in Cursor/Vscode it would help as well. It seems just certain languages are affected.

it’s a bit weird to call this “just certain languages”.
what are the top languages used in Cursor if not Python and Typescript?

Hehe ‘certain’ is from my personal perspective but also as there are others using languages that arent python or typescript. Not everyone uses the same languages/frameworks…

I do use JS but not TS for example and 10 other languages that just arent python :slight_smile: all of which I have working without issues in Cursor.

But no worries :slight_smile: Cursor Team is looking into it.

I’m checking it still, but for me even my own extension doesn’t work anymore which is not in Marketplace and whose codebase I own and use just locally. But the same extension broke for last VS Code too, so still investigating.

Hi All,

@T1000 – thanks for triaging this thread!

@Noja121 – it sounds like the LSP is off or is not activated, which would cause these features to not work. Could you share the logs from the “Cursor Pyright” and “basedpyright” output consoles?

Re: the errors in code, they could be caused by missing imports not being resolved. If the imports are being resolved and they’re excessive, could you set cursorpyright.analysis.typeCheckingMode to “none”?

@kaandok, did you fully resolve the issue, or is syntax highlightling / LSP support still not working?

@yagiz – could you double check your marketplace URI? The network diagnostics should not ping open-vsx.org directly, unless if the URL was changed in settings. For me, it shows:

@nightcoder – Cursor 1.2 did update the base VSCode version, so it’s possible that there is some difference in the VSCode API.

1 Like

Yeah sure. For me it looks like the LSP still fundamentally works, just the highlighting is off + the type checking mode isn’t working as expected. If I turn the type checking mode to none then the random flood of errors disappears yeah, but then other things are gone too like missing imports aren’t tracked. The default mode of cursor is to use basic so I want to keep it on and ideally go back to behavior of cursor/pyright pre idk whatever broke this. The errors in the code are not errors that stop code from executing (eg, using a method from a package which isnt typesafe will say the method couldn’t be found even though the method exists and the code will compile and run successfully). I haven’t touched the marketplace URL.

Cursor - Pyright output:
[Info - 09:18:29.817] [pylance import] Already imported settings globally
[Info - 09:18:29.817] [pylance import] No remote authority found, skipping remote settings migration
[Info - 09:18:29.817] [pylance import] Already imported settings for workspace current-dir
[Info - 09:18:29.817] [pylance import] Already imported settings for workspace folder /Users/myname/Documents/GitHub/current-dir
[Info - 09:18:29.828] failed to find pyright executable, falling back to bundled:
/Users/myname/Documents/GitHub/current-dir/backend/venv/bin/basedpyright-langserver
[Info - 09:18:29.828] using bundled pyright
[Info - 09:18:29.829] running node with args: --max-old-space-size=4096
[Info - 09:18:29.829] using default node executable

Based pyright:
[Info - 2:18:30 AM] basedpyright language server 1.29.4 starting
[Info - 2:18:30 AM] Server root directory: file:///Users/myname/.cursor/extensions/anysphere.cursorpyright-1.0.5/dist
[Info - 2:18:30 AM] Starting service instance “current-dir”
Received pythonPath from Python extension: /Users/myname/Documents/GitHub/current-dir/backend/venv/bin/python3
[Info - 2:18:30 AM] Setting pythonPath for service “current-dir”: “/Users/myname/Documents/GitHub/current-dir/backend/venv/bin/python3”
[Info - 2:18:30 AM] No include entries specified; assuming /Users/myname/Documents/GitHub/current-dir
[Info - 2:18:30 AM] Auto-excluding **/node_modules
[Info - 2:18:30 AM] Auto-excluding **/pycache
[Info - 2:18:30 AM] Auto-excluding */.
[Info - 2:18:30 AM] Assuming Python version 3.12.3.final.0
[Info - 2:18:30 AM] Auto-excluding /Users/myname/Documents/GitHub/current-dir/backend/venv
[Info - 2:18:30 AM] Found 15 source files
[Info - 2:18:30 AM] BG: Background analysis(1) root directory: file:///Users/myname/.cursor/extensions/anysphere.cursorpyright-1.0.5/dist
[Info - 2:18:30 AM] BG: Background analysis(1) started

my marketplace host is marketplace.cursorapi.com, does this mean anything or have you just configured your cursor differently

it also takes a lot longer for all the code formatting and stuff to load on app startup/file open

I also tried downgrading to Cursor Version: 1.1.7 but still the same issues persist, which is concerning because a clean reinstall of the entire app still doesnt restore the language server to its intended/original behavior?