Fork me on GitHub
#calva
<
2019-11-30
>
pez15:11:09

I now took the REPL window keybinding thing a bit further. Some users do not use the REPL window for much multi-line editing (wisely so) and would rather that enter and cursor up/`down` behave more like on a terminal prompt. For them there is now a single-line mode to enable for the REPL window: https://github.com/BetterThanTomorrow/calva/blob/wip/editor-using-our-paredit/docs/readthedocs/source/customizing.md#default-key-bindings

hoppy16:11:08

in 2.0.62 the repl history keys <alt><up-arrow>, <alt><down-arrow> are getting out of whack. they are like returning history from one step back from where they should be.

pez17:11:29

I can’t reproduce. Maybe it is only happening on Linux?

pez17:11:07

If you have some time, please try to debug it. It sounds a bit like sometimes more than one keypress is registered.

pez19:11:23

A thing you can try is to execute the command using the command palette, and see if the same problem is there.

pez16:11:26

Thanks for the feedback, @hoppy! Can you try in Calva 2.0.61 and confirm that it is a new thing? I somehow doubt it is, and also really hope it is not, because that might mean I have to revert on the whole configurable REPL window shortcuts thing…

pez16:11:58

Also, and this is to all Calva Friends: v2.0.62 is old hat. The cool people use v2.0.63. 😃 Please like and comment and spread this ClojureVerse post: https://clojureverse.org/t/calva-paredit-just-got-majorly-better/5155

hoppy17:11:10

@pez It seems to be a 2.61->2.62 regression. gonna see what 2.0.63 does...

pez17:11:51

It does nothing with that. I’ll try see what the regression is about.

hoppy17:11:10

2.0.63 has the problem as well

lodin.johan17:11:41

Hi, how can I stop the function hint that pop up, e.g. if I'm in (contains? ...) I get (contains? [coll key]) (and bind it to a key instead)?

pez18:11:55

There are two ways. You can dismiss it with ESC and you can disable the pop-up entirely in VSCode settings.

pez18:11:57

If you do the latter you can make it appear at will using ctrl+shift+space. (cmd instead of ctrl on Mac).

lodin.johan18:11:13

What's that pop up called?

lodin.johan18:11:50

Ah, yes, found it.

lodin.johan18:11:16

@pez Thanks. I'm enjoying Calva btw. I don't like having things pop up and cover the code though, or interfere with navigation, like capturing up arrow keys. I don't use VS code enough to know what's Calva and what's VS Code. 🙂

pez18:11:42

Agree. I like VSCode a lot, but it is a bit crazy with all them popups.

lodin.johan18:11:53

I wouldn't mind having a side panel that shows a bunch of stuff, similar to the explorer side panel. It's easy to toggle, you can show several things at the same time and you can expand/collapse as you want to. Hmm, I wonder if that is doable through an extension (and if such an extension exists).

pez19:11:31

It’s a bit how emacs uses the mini buffer.