atom-julia-client icon indicating copy to clipboard operation
atom-julia-client copied to clipboard

Unfold Arrays by default

Open stakaz opened this issue 6 years ago • 5 comments

When using inline view the array never unfold so you only see the type of the array and not the values. Could it be possible to see this in the same way as standard REPL do?

Generally, I think that the output in Juno should be the same as in the REPL. For now there are some differences which are annoying, like 2x2 Arrays are not shown as Matrix in the Juno REPL or ; is ignored.

This https://github.com/JunoLab/atom-julia-client/issues/244 does not work for me in REPL.

stakaz avatar May 24 '18 13:05 stakaz

I'm not sure what you mean -- are you perchance on an old version of Juno?

Here is what an array looks like when evaluated in an editor:

grafik

and in the REPL:

grafik

pfitzseb avatar May 24 '18 15:05 pfitzseb

Ok, this is not the case for me on version 0.6.13 when using print under/beside the code. I only see Array{Float64,2} and an arrow to unfold by default.

image

stakaz avatar May 24 '18 17:05 stakaz

Wait, so you want it unfolded by default? That's not gonna happen since it'd take up way to much screenspace then.

pfitzseb avatar May 24 '18 18:05 pfitzseb

Yes, by default. Maybe it would be good to have an option for this. Because it is very useful once you do presentations and want to show some calculations in Julia. Clicking the arrow every time is nasty then.

stakaz avatar May 24 '18 19:05 stakaz

This feature would be awesome. It would improve the working speed!

pkroenert avatar Dec 22 '18 17:12 pkroenert