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

Settings for controlling if outputs should be saved to disk #4670

Closed
rebornix opened this issue Feb 5, 2021 · 6 comments
Closed

Settings for controlling if outputs should be saved to disk #4670

rebornix opened this issue Feb 5, 2021 · 6 comments

Comments

@rebornix
Copy link
Member

rebornix commented Feb 5, 2021

Maybe there is already an issue tracking this but I didn't find through search. It would be great if Jupyter has a setting to control if outputs should be transient or not. When set to true, Jupyter content provider can set outputs as transient so outputs change won't make the document dirty.

@greazer
Copy link
Member

greazer commented Feb 16, 2021

Thanks for the recommendation!

@claudiaregio
Copy link
Contributor

Have received significant amount of feedback from users who are using the native notebooks diffing experience.
They would like to able to omit outputs when git committing notebooks, specifically called out this example a few times.

I asked if using the "Clear all outputs" button in the global notebook toolbar would suffice for them but users mentioned not remembering that was up there and that they would like to be able to do it in one action not two. One user specifically called out the following extension:
https://github.com/kynan/nbstripout

@DonJayamanne
Copy link
Contributor

DonJayamanne commented May 25, 2021

I'm filing an issue in VS Code for discussion (moving this feature to VS Code) microsoft/vscode#124551

@danchitnis
Copy link

Can we not simply clear the cell outputs before saving the notebook? both commands are available, they just need to run in a sequence.

@claudiaregio
Copy link
Contributor

+1 Python blog comment feedback
image

@rchiodo
Copy link
Contributor

rchiodo commented Aug 31, 2021

Dupe of microsoft/vscode#131944

@rchiodo rchiodo closed this as completed Aug 31, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants