You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often when a large notebook is run, and some cell fails there is no way to navigate straight to it, one has to scroll (a lot at times) to find for the failed cell.
Is it possible to add a facility to be able to navigate to the failed cell in one click?
For example, I've been using the following to jump to the currently running cell - a similar functionality to what I'm requesting:
Jupyter.keyboard_manager.command_shortcuts.add_shortcut('Alt-I', {
help : 'Go to Running cell',
help_index : 'zz',
handler : function (event) {
setTimeout(function() {
// Find running cell and click the first one
if ($('.running').length > 0) {
//alert("found running cell");
$('.running')[0].scrollIntoView();
}}, 250);
return false;
}
});
But there doesn't seem to be an '.error' JS state.
Of course, while there can be only one '.running' cell, there could be more than one '.error' cell at the same time. But, perhaps, only the last one needs to be tracked.
And when the facility is in place, then there can be a configuration option for the notebook to automatically refocus to the failed cell any time an error happens. But that's a bigger ask, I'd be happy to have a way to jump to it quickly.
Thanks.
The text was updated successfully, but these errors were encountered:
1 to this. It would save many a developer countless hours of scrolling through a notebook that has hundreds of cells in a script-type of format trying to find the one cell that failed.
Often when a large notebook is run, and some cell fails there is no way to navigate straight to it, one has to scroll (a lot at times) to find for the failed cell.
Is it possible to add a facility to be able to navigate to the failed cell in one click?
For example, I've been using the following to jump to the currently running cell - a similar functionality to what I'm requesting:
But there doesn't seem to be an '.error' JS state.
Of course, while there can be only one '.running' cell, there could be more than one '.error' cell at the same time. But, perhaps, only the last one needs to be tracked.
And when the facility is in place, then there can be a configuration option for the notebook to automatically refocus to the failed cell any time an error happens. But that's a bigger ask, I'd be happy to have a way to jump to it quickly.
Thanks.
The text was updated successfully, but these errors were encountered: