Closed sharulhafiz closed 1 year ago
The ctrl+c
event handler is on the vs-code side, not on the extension side. There are known issues with copying text from the sidebar using context menu or ctrl+c
.
I just tested on a jupyter notebook, Copy code
works fine and copies the correct lines. There is an open issue on the VS-Code side, hopefully it will get resolved soon: https://github.com/microsoft/vscode/issues/141080
This is how I copied the code and it worked pasting inside a notebook:
Thanks. I'll close this.
When I use Chatgpt, got the code, click copy, it cause the python notebook to duplicate the cell instead of copying or pasting the code generated with chatgpt. ctrl+c no longer work after that, as each time i presses those buttons, it clone the cells instead. i've since disable the extension.