continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
19.44k stars 1.68k forks source link

Copy-Paste bug with Jupyter Notebooks #2217

Open TomasMiskov opened 2 months ago

TomasMiskov commented 2 months ago

Before submitting your bug report

Relevant environment info

- OS: Windows 11
- Continue: 0.8.51
- IDE: VSCode

Description

When using Continue with Jupyter Notebooks, the basic copy/paste functionality brakes upon the first copying and pasting of the code from the model to one of the cells.

After the first copy/paste action, the code is repeatedly pasted into a new cell no matter where the cursor is and no matter what new text I am trying to copy or paste.

To reproduce

  1. Generate some code from an LLM
  2. Copy and paste the code into a Jupyter cell (either using ctrl+c, ctrl+v or by using the context menu)
  3. Copy some new text from elsewhere
  4. Move your cursor to the chat box of Continue
  5. Press ctrl+v
  6. Your new text should not paste but instead the previous generated code is pasted into a new Jupyter cell

Log output

No response

just-kir commented 1 month ago

Confirm the bug in Ubuntu too. Super annoying :(