-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
"Clear All Output" is greyed out and doesn't clear execution count unless output is available #235784
Comments
Same effect for me with VS Code Version Jupyter Extension Version Coding Language and Runtime Version |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Source Control Just in case this was not immediately obvious to someone, |
We are also running into this in v1.94.2. And as @bernard-123lb says, the merge conflict aspect is particularly problematic. |
@ejfdickinson @drush0 I've re-opened the issue microsoft/vscode-jupyter#16052 |
TEMPORARY SOLUTION/WORK AROUNDPlease use the command |
This comment has been minimized.
This comment has been minimized.
@gsverhoeven Thanks for reporting this, I've created an issue for what you've identified here #237299 |
Thanks for investigating a workaround @gsverhoeven, and @DonJayamanne for working on the fix. This bug makes working with version control a pain, so I'm looking forward to this being resolved! |
Applies To
What happened?
Create a new cell in an *.ipynb.
run an import statement, the execution count increments.
expected that this execution statement could be cleared with the "Clear All Outputs" button it cannot.
add a print statement to the cell and run.
The "Clear All Outputs" is now available and can be used to clear the execution count as well as outputs.
"Clear All Outputs" should be available to clear execution counts even if none of the cells have printed outputs.
VS Code Version
1.86.2
Jupyter Extension Version
2024.1.1
Jupyter logs
No response
Coding Language and Runtime Version
Python v 3.10.10
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
None
The text was updated successfully, but these errors were encountered: