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
After I call julia-snail-send-dwim, I sometimes want to play around with the resulting object in the REPL. It seems like that currently isn't possible. Is that right?
Is that something that could be added? Conceptually, it's a bit like the ans variable. I suppose one option is actually to bind ans to the result of the last evaluation. Or maybe there's a special JuliaSnail.result global that gets updated on each evaluation?
The text was updated successfully, but these errors were encountered:
I think it’s as simple as adding Base.MainInclude.ans = result to eval_tmpfile after line 261 (right before if isnothing(popup_params)). It seems to work for me, but I have not thoroughly tested it, nor am I certain that it doesn’t have bad side effects. Could you try making the change and drive it for a little while, and see if it seems safe to push to the main branch?
After I call
julia-snail-send-dwim
, I sometimes want to play around with the resulting object in the REPL. It seems like that currently isn't possible. Is that right?Is that something that could be added? Conceptually, it's a bit like the
ans
variable. I suppose one option is actually to bindans
to the result of the last evaluation. Or maybe there's a specialJuliaSnail.result
global that gets updated on each evaluation?The text was updated successfully, but these errors were encountered: