jonsequitur / dotnet-repl

A polyglot REPL built on .NET Interactive
MIT License
713 stars 35 forks source link

Open a ipynb file generated by dotnet-repl clears all cell outputs #97

Open marckruzik opened 7 months ago

marckruzik commented 7 months ago

I would like to link this issue from dotnet interactive, as I think it's more related to dotnet-repl:

Outputs from dotnet-repl are not displayed in by VS Code extension dotnet/interactive/issues/3335

As I am using dotnet-repl to automate notebooks used as scripts (to replace sh and bat scripts), I am using the ipynb output very often to check for bugs (when I get the exit code 2). But every time I am opening a ipynb file generated by dotnet-repl, the cell outputs are cleared. It does not happen with other ipynb files.

I posted a comment with a full procedure to reproduce the bug in the other discussion. I'm willing to continue the discussion here if needed.