Jupyter Notebook Output Copy-Paste Not Working Correctly in Chat Panel

When using Cursor IDE with Jupyter Notebook, I’m experiencing a strange clipboard behavior:

  1. I copy the output of a notebook cell (not the input code, just the output).
  2. I then try to paste it directly into the Chat panel (AI assistant).
  3. However, nothing appears in the Chat input box.
  4. Instead, Cursor inserts a duplicate of the notebook cell’s input code directly below the original cell’s output — as if the cell itself was duplicated.
  5. If I copy the output and then navigate to another file or tab inside Cursor before pasting, it works correctly and pastes the expected content into the Chat.
  6. Restarting Cursor temporarily resolves the issue, but it reappears after some time of continued use.

Environment:

  • Cursor Version: 0.50.7 (user setup)
  • VSCode Version: 1.96.2
  • Commit: 02270c8441bdc4b2fdbc30e6f470a589ec78d600
  • Date: 2025-05-24T18:32:30.918Z
  • Electron: 34.3.4
  • Chromium: 132.0.6834.210
  • Node.js: 20.18.3
  • V8: 13.2.152.41-electron.0
  • OS: Windows_NT x64 10.0.26100
3 Likes

Hey, thanks for the report. As a temporary workaround, try using Cmd/Ctrl + Shift + V to paste into the chat.

Is there any plan to fix this very annoying behaviour for notebook users?

Hey, just wanted to let you know that the team is already looking into the issue. Hopefully, there will be a solution soon.

1 Like