Ruff Jupyter Extension does not work in Cursor. With the same configuration (settings.json), the formater does work in VS Code. I started noticing this like a week ago.
It seems like this could be exactly the incompatibility between Ruff Jupyter and Jupyter in Cursor (our docs mention that not all VS Code extensions work identically: Extensions | Cursor Docs).
To help us reproduce and pass this to the engineers, these details would be very helpful:
Checks in Cursor:
Does Ruff work as a formatter in regular .py files (Format Document / formatting on save)?
If you press Format Document With... in a notebook cell - is Ruff in the list of formatters or does it not appear at all?
Logs/screenshots:
Open the Output panel and check the Ruff and Jupyter channels during formatting attempts - are there errors? If yes, send the text.
Open Help → Toggle Developer Tools → Console and check for errors when saving the notebook.
Screenshots of notebook formatting settings in Cursor (Format on Save / Notebook-specific settings).
Once we have this data and a minimal repro, I’ll try to reproduce it myself and, if confirmed, raise it as a bug with the engineering team.
Whereas in Cursor I just get the white format (it is of course the same theme) and no function is clickable and I get no doctrings. Nothing. It is like is not properly recognized as Python code (also, not even type hints!):