Migrated from jupyter/notebook#1243
Original author: @Carreau
Original created: 2016-03-22T18:56:09Z
Type: Issue
This issue is both Notebook & IPython, but I guess could be solved here only with an extension.
Again, requested during JupyterDays:
For education purpose, it would be nice to be able to define a class across many cells., in particular 1 method/cell.
I think it is possible by peeking at next/previous coed cells, and if the all body of a cell is indented by at least 4 spaces, "join" the content of each cell before sending a single execution request.
we could "mark" joined executed cells with a specific prompt.
Ping @ellisonbg
Original author: @Carreau
Original created: 2016-03-22T18:56:09Z
Type: Issue
This issue is both Notebook & IPython, but I guess could be solved here only with an extension.
Again, requested during JupyterDays:
For education purpose, it would be nice to be able to define a class across many cells., in particular 1 method/cell.
I think it is possible by peeking at next/previous coed cells, and if the all body of a cell is indented by at least 4 spaces, "join" the content of each cell before sending a single execution request.
we could "mark" joined executed cells with a specific prompt.
Ping @ellisonbg