Skip to content
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

Add "Copy to clipboard" as a menu option for output cell #1982

Open
mika76 opened this issue Apr 22, 2022 · 6 comments
Open

Add "Copy to clipboard" as a menu option for output cell #1982

mika76 opened this issue Apr 22, 2022 · 6 comments

Comments

@mika76
Copy link

mika76 commented Apr 22, 2022

Describe the solution you'd like
Currently you can only "Change Presentation" and "Clear Cell Outputs" - it would be nice to have a button to "Copy to clipboard" as well (at least for text/* mimetypes if nothing else) - saves the whole select all, control-c keyboard shuffle.

Describe alternatives you've considered
The only one I know of is to manually select all and then control-c (output doesn't even have a right-click menu which is an issue on it's own if not irritating, definitely non-accessible)

(PS This is on MacOS)

@mika76 mika76 added the enhancement New feature or request label Apr 22, 2022
@jonsequitur
Copy link
Contributor

Are you using the VS Code extension?

@mika76
Copy link
Author

mika76 commented Apr 22, 2022

@jonsequitur Oh yes sorry - thought this was repo just for that - .net interactive notebook extension for vscode on macos monterrey

@jonsequitur
Copy link
Contributor

This would probably best be solved more generally within VS Code. Here are a couple of related issues:

microsoft/vscode#129880
microsoft/vscode-jupyter#8699

@mika76
Copy link
Author

mika76 commented Jun 13, 2023

@jonsequitur both those issues are for copying plots/images but I was thinking more text.

Currently you can manually select and press control-c but there is no right-click menu, A copy-all button (or even a share button 😉) could be useful for text outputs. Or any outputs in general.

@jonsequitur
Copy link
Contributor

Good point. A more generalized feature for this would be helpful.

@rebornix Are you aware of any open issues focused on making it easier to copy text from cell outputs?

@rebornix
Copy link
Contributor

@jonsequitur we don't have one particular issue tracking it but I think it's worthwhile to have this in our near term iteration plans. Copying text output right now is not easy and we need to figure out what's the right UX to handle this, either a context menu or a command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants