Support collapse cells in Jupyter Notebook

The VS Code had supported cell collapsing 3 years ago, hope this feature should merge into cursor.

Cell collapsing UI

Notebook cells have a blue bar on the left side to indicate that they are focused. This bar is now interactive - you can click the top part to collapse the cell input, and the bottom part to collapse the output.

Hey, we do have collapsing cells already, are you not able to use them?

Version: 0.44.11
VSCode Version: 1.93.1
Commit: fe574d0820377383143b2ea26aa6ae28b3425220
Date: 2025-01-03T07:59:06.361Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.2.0

This is my version info.
And I can’t even see the collapse option on right-click menu.
I tried download cursor on my Windows machine and yes it can collapse correctly, but on my mac machine no.

Hey, are you working locally, or via SSH when on your Mac?
We have had other reports of it not working via SSH, but I believe everyone should work fine locally!

Problem solved.

TL;DR: Just clear all my local Cursor data by running rm -r ~/Library/Application\ Support/Cursor, and it works.

Details:

I’m working locally. I tried many folders, and none of them have this collapsing bar.

However, when I installed Cursor on my Mac Mini, it worked perfectly. Both machines have the same version number. I even tried disabling all my extensions, but it didn’t help.

So, I had no choice but to reinstall Cursor or simply clear all its data. And it worked.

Though I still don’t have any clue how this worked.

1 Like