-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allowing copy/paste in right click menu in notebook #3224
Comments
A couple of thoughts (a) you can shift-click to get the browser menu. Perhaps we should put a line of text in the right click menu at the bottom mentioning this? (b) it does look like we could support copy, etc: https://developers.google.com/web/updates/2015/04/cut-and-copy-commands. There were restrictions on this prior to Chrome 43, for example. |
(a) well, very interesting hint, which I never know before. But since my hand are already on the keyboard, I could just |
IMHO, a very expected feature because one expects to see Copy/Paste/Cut in the context menu even if it's not native one. |
also can't copy paste, either right clicking or ctrl + x/c |
actually, there is no way to copy the output at the moment, am I right? |
In Firefox 69 it is possible to right-click in a cell with Shift pressed to evoke your system's context menu instead of Jupyter's. |
You can always right click with Shift held down anywhere in JupyterLab, using any browser, to open your browser's standard right click menu. If that's not working for you, that's a bug, and we need to fix it, so please post a new issue with a description (do not post it here). |
Anyway, having "Copy selected text" in Jupyter's menu would be convenient. |
All the ideas mentioned here are great and yes right click + shift key has the option to copy. But a simple scroll over text -> right click -> copy would be perfect! It's not fun when you need to quickly debug errors using google/stack-overflow and struggle copying, so you google about this issue instead and end up spending time commenting about this issue on this thread instead. :/ |
This is awesome! I had the same question--two seconds reading this thread and issue fully solved. Who doesn't want training and validation loss curves in Excel? Someone has to support MS eh? Thank you! |
I am new to programming and about 24 hours ago, I started python self-studies online. I am running jupyter notebook 6.0.3 on a Mac and I am unable to copy codes to Notes. Please pardon my ignorance, but if I am researching how to use ‘copy’, .... |
Hi, |
I'm also looking for that, but I don't think Jupyter intercepts the middle click. I can paste with middle click, and I get the latest content I copied with selection elsewhere in my browser. Copy with selection elsewhere in the browser works. What doesn't work is copy by selection in jupyter notebook. |
To my surprise, the text editor in Jupyterlab has exactly that feature, and it works, at least in Firefox... Why is this still an issue after years? |
I found "Allow Right Click" chrome extension prevents right click menu of Jupyterlab. |
I just tested this, and indeed, the right click in the text editor mode (such as when you open a .py file instead of a notebook) has the normal copy/cut/paste options! This indicates that there's no longer any technical issue with the browser refusing the functionality. I'll look into getting this feature implemented in the same way as it is in the text editor. |
Just echoing others, being able to right-click selected text, copy, paste in Chrome without grabbing the whole cell would be great. The old jupyter notebook ide had this functionality; one had to do a "fast click" to get the menu though. |
🙇 Please add this feature into Jupyter Lab 🙇 |
uninstall jupyterlab-emacskeys |
any words on this. This is a not a fun workflow. I thought it was expected to select text and copy and paste using the right click (context menu) |
I want to copy and paste selected text from the context menu more than anything I would want to do in the context-menu from jupyterlab, including copy/pasting entire cells. Can we have a setting to disable the jupyter-lab context menu altogether? For me the utility of copy/paste text is much higher than anything the context menu offers. |
Is it possible to build a a JupyterLab extension which modifies the context menu and provides the Copy/Cut/Paste functionality? |
Within the browser support limitations described in #13553, yes. There is no strong reason why it should not be a part of core JupyterLab IMO, so if someone were to write such an extension they could find it easier to directyl contribute to core. |
I usually select some text in the cell (input / output), then right-click in order to copy/paste. However, jupyter notebook (in jupyter lab) captures the right-click menu, and doesn't provide the copy/paste options.
I suggest providing such options back. Thank you!
And yes, I can always press keyboard (
ctrl + c
ctrl + v
). But using mouse to select text then copy/paste is more fluent.The text was updated successfully, but these errors were encountered: