Pasting into chat with the a Jupyter notebook not working

Describe the Bug

When I have a Jupyter notebook with a cell copied and then try to copy and past separate text into the chat window, the jupyter notebook page seems to take over the paste command and pastes the old cell into the notebook.

The text isn’t pasted into the chat window. I can select a different type of window and it will work. Also pressing Cmd-Shift-V works

Steps to Reproduce

Open a Jupyter Notebook copy and paste a notebook cell, then select other text and attempt to paste it in the chat sidebar while the notebook is open

Expected Behavior

Sidebar window should capture the paste command if it is clicked on and focused

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

ersion: 1.1.3 (Universal)
VSCode Version: 1.96.2
Commit: 979ba33804ac150108481c14e0b5cb970bda3260

Does this stop you from using Cursor

No - Cursor works, but with this issue

2 Likes

Had the same issue. As a workaround use shift + cmd/ctrl + v in the chat

+1
Can we get a fix because its so frustrating

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Describe the Bug

When I cut and paste from anywhere in Cursor while have a Jupyter notebook open I create a new cell in the open Jupyter Notebook. I can’t cut and paste from terminal, from other files, or from the notebook into chat.

Steps to Reproduce

Open an ipnyb file. Use cut and paste and click in chat. Try to paste into chat. A new cell is created.

You can cut and paste from within or between jupyter notebooks, but not outside of the notebook.

Expected Behavior

Can cut from a notebook and paste in a chat.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.0.0 (Universal)
VSCode Version: 1.96.2
Commit: 53b99ce608cba35127ae3a050c1738a959750860
Date: 2025-06-04T19:21:39.410Z (2 days ago)
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.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Same here

Current Cursor Version
Version: 1.0.0
VSCode Version: 1.96.2
Commit: 53b99ce608cba35127ae3a050c1738a959750860
Date: 2025-06-04T19:21:22.523Z
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.5.0

Whats more frustrating in my situtation, the cell in the notebook I had previously selected gets pasted with the same code cell every time, and I cannot undo that neither with CMD+Z nor with Edit → Undo.

Hey, thanks for the report. We’ll investigate it.

I actually saved and restarted and it went away. But thought you should still know about it.

1 Like

Yes, the same error

same error for me: anything i paste gets pasted into the .ipynb. and if i copy a jupyter cell, that doesn’t get overwritten by copying something else.

the only workaround is to not have the .ipynb file tab active, then you can paste into the chat/agent.

OS X 14.2 (23C64)

Version: 1.0.1
VSCode Version: 1.96.2
Commit: 5491d1158b9f2bf4c483cff438c7cc162fd7d130
Date: 2025-06-08T00:25:32.625Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 23.2.0

Hey, as a temporary workaround, try using Cmd/Ctrl + Shift + V to paste into the chat.

I am experiencing this issue too. It doesn’t always happen, but once I start getting this problem, it doesn’t go away until I reload the editor. It’s pretty annoying. I’m on Windows so it’s not a macOS-only problem.

Same issue here. Almost happen every day when I open jupyter notebook in Cursor, very bothering. If I use Cmd + Shift + V, the cursor AI is unable to locate the specific code snippet I want to refer. Hope the cursor team can investigate and solve this problem at your earliest convenience.

copy paste is still broken any time a .ipynb is the active tab. ( @deanrie )

1 Like

Still observing this problem in 1.2.2. This makes working in notebooks almost impossible.

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

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

1 Like

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

1 Like

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

2 Likes

Describe the Bug

Can’t copy paste Jupyter Notebook output to Cursor Tab

Steps to Reproduce

Try it

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.4.2 (Universal)
VSCode Version: 1.99.3
Commit: 07aa3b4519da4feab4761c58da3eeedd253a1670
Date: 2025-08-06T19:23:39.081Z
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.4.0

Does this stop you from using Cursor

No - Cursor works, but with this issue