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
edited by

Calva's formatter can't do this. For simple cases like this you can use the pretty printer and configure the print width to be something low. Then there is a command Calva: Evaluate Current Form and Replace it with the Result that you can then use on the form and it will get replaced by the pretty printed results.

Update: We could fix this. I now added this issue on Calva.