Fork me on GitHub
#calva
<
2021-03-25
>
cschep03:03:29

I’ve been enjoying Calva but on my mac i use alt+left/right to move by word so often that I’m going crazy trying to undo what Calva does to override it. I see https://calva.io/customizing/#key-bindings it mentioned here and I’ve copy and pasted that move my word into my keybindings.json file but it doesn’t seem to help

cschep03:03:35

any idea what I’m missing?

pez07:03:55

@cschep You might not need to go view that file. Bringing up the keyboard shortcuts panel in VS Code and adding a shortcut for cursorWordRight, might do it for you. (Also change the forwardSexp shortcut from there.)

cschep16:03:49

ah thanks, this did the trick!

Jakub Holý09:03:19

Hello! When I Jack-in to a lein nrepl and run (.println System/out "hello stdout") , where do I see the value printed? Thanks!

pez10:03:32

Maybe in the jack-in terminal?

3
Jakub Holý10:03:48

where is that?

Jakub Holý10:03:19

found it 🙂

pez10:03:13

Was the output there?

Jakub Holý11:03:01

yes, thank you!

pez15:03:18

Great. We could actually make it so that anything that is printed there is also printed in the output window. As an opt-in thing, because it risks causing even more unbalance in the output editor than we already have. But anyway.

cschep16:03:04

is there an easy way to stop the REPL process

cschep16:03:12

i see disconnect, but i’m assuming that leaves the process running in the background?

bringe00:03:21

In the terminal where the repl is running, hit ctrl+c. That's the only way I know to stop it. Maybe we could add a command for stopping the repl that evals (System/exit) . It's hardly easier though, I think.

cschep15:03:53

oh wow, thanks for this

cschep15:03:58

i should have thought of that! 😄

bringe18:03:27

You're welcome!

dharmaturtle19:03:20

Is there a way to "fold" or "collapse" code in Calva? e.g. http://i.imgur.com/dkqMnNV.png

dharmaturtle19:03:03

oh. It appears when you hover... duh. Well I feel dumb

pez20:03:28

😍 It's vscode built in behaviour.

facepalm 3