Prevent jump when there's a syntax error

I don’t know if this is possible or not, but I find it very confusing when I’m writing in a cell and that causes a syntax error in another cell further down. The notebook automatically jumps to that error and it’s not always clear if it went up or down. I know I can type command + z to go back to the original cell, but I find it distracting.

Is there a way to turn off this automatic behavior?

Observable will only rerun dependent cells when a cell’s editor content is saved. The content is saved when you:

  • press the play button,
  • or press Shift+Enter,
  • or blur a cell that has changes.

I guess the desirable behavior here would be to not save on blur?

Or at least provide a way to toggle “saving on blur”.

Am I the only one that gets confused by this? I’m working on a streamgraph and I’m playing around with multiple datasets/scales/legends/etc. Every time I change the data variable, half my notebook goes red :sweat_smile:

For what it’s worth, you can edit your notebook in safe mode while simultaneously viewing it in a second tab or window.

1 Like