-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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 "Go to Last Failed Cell" Button #154443
Conversation
src/vs/workbench/contrib/notebook/browser/notebookExecutionStateServiceImpl.ts
Show resolved
Hide resolved
src/vs/workbench/contrib/notebook/browser/controller/executeActions.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/notebook/browser/controller/executeActions.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/notebook/browser/controller/executeActions.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/notebook/browser/controller/executeActions.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.ts
Outdated
Show resolved
Hide resolved
I moved the button so it now has the same order ( When both are shortened to |
I think that's exactly what I want |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I shouldn't see this when an execution is running, otherwise I could see both buttons. Maybe that means clearing the last failed cell in the service when an execution starts, rather than when it's completed. Or by changing the context keys.
src/vs/workbench/contrib/notebook/browser/controller/executeActions.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/notebook/browser/notebookExecutionStateServiceImpl.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/notebook/browser/notebookExecutionStateServiceImpl.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you join the notebook standup call to show this off tomorrow?
sure! should I merge first? |
Go ahead and merge whenever you're ready |
* Add go to last failed cell function
Adds a button that says "See Last Failure" on the toolbar if the last ran cell failed. This focuses on the failed cell.
Also available as a command

Notebook: Go to Last Failed Cell
.EDIT: it now says
Go to Most Recently Failed Cell
to reduce ambiguity.This PR fixes #142898