Welcome! Please see the About page for a little more info on how this works.

+1 vote
in Calva by

I would like to know if i can pass from this:

[[1 2 3] [4 5 6] [7 8 9]]

..to this:

[[1 2 3]
[4 5 6]
[7 8 9]]

with Calva or another vscode shortcut instead of having to press enter in each item?

Thanks in advance! :)

1 Answer

0 votes
by
edited by

Calva has a command Calva: Replace Current Form (or Selection) with Pretty Printed Form that does this. Your pretty printer settings need to have a narrow print width.

...