Fork me on GitHub
#portal
<
2022-01-26
>
Jakub Holý (HolyJak)18:01:11

Hi! Currently when I tap> a map that contains a vector value, this is shown in the inspector viewer:

{2}
:id      1
:vals.   [2]
with a lot of unused space. Would it be possible to display the vector partly inline, like
{2}
:id      1
:vals.   [2] [1 2 3 4 ...]
(for the subset of it that fits onto the screen)? The way it is now I always need to click around to look at stuff.

seancorfield18:01:21

I have a key binding for tap> with the tree viewer metadata for when I want to see stuff fully auto-expanded: https://github.com/seancorfield/vscode-clover-setup/blob/develop/config.cljs#L10

awesome 3
Brian Chevalier06:01:23

This is brilliant, I need to do this!

Jakub Holý (HolyJak)18:01:56

I see, thank you. I guess that would work fine when I know the data is small and I could make a custom viewer derived from tree when it is bigger (until tree already handles that)