squiggle icon indicating copy to clipboard operation
squiggle copied to clipboard

Focus on numerical array elements is confusing

Open berekuk opened this issue 2 years ago • 5 comments

Focus on arr[1]: Captura de pantalla 2023-07-20 a la(s) 12 59 14

(screenshot is done with playground from #2071 that includes the final chevron, but it's still not enough to clear up the confusion)

Maybe we should show array element names as [i] instead of i?

berekuk avatar Jul 20 '23 19:07 berekuk

Maybe we should show array element names as [i] instead of i?

Yea, I agree here. Would be easy to change.

OAGr avatar Jul 20 '23 19:07 OAGr

Hm... this seems tricky to change. If we do the obvious thing, it shows like that everwhere, and this is pretty ugly. Will think of more ideas later.

image

OAGr avatar Jul 21 '23 15:07 OAGr

If we do the obvious thing, it shows like that everwhere, and this is pretty ugly.

I agree it looks noisy, but I also think it's still better than before.

berekuk avatar Jul 21 '23 21:07 berekuk

Fixed in 0.10: Image

berekuk avatar Jan 07 '25 18:01 berekuk

Oh wait, no, it's still a problem in focused states.

berekuk avatar Jan 07 '25 18:01 berekuk