I think MPW (the original Mac IDE from Apple) in 1985 can claim prior art on the notebook UI
I suspect there’s prior art (Hypercard? every spreadsheet ever? this list: https://en.wikipedia.org/wiki/List_of_graphical_user_interfa... ?), and the patent seems pretty obvious, but in any event, I don’t think other “code notebook” implementations are currently infringing this patent, and it seems relatively straightforward to work around.