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

Dear Calva-friends, can I get some help testing this minor change regarding completions? ❤️ The difference should be that completions are now working with babashka’s nrepl server (the most recent babashka supports this, iiuc). Otherwise completions things should work as before. I’m pretty sure they do, but as programmers you know what such assumptions are worth, right? 😃 Here’s the VSIX: https://12373-125431277-gh.circle-artifacts.com/0/tmp/artifacts/calva-2.0.183-1083-fix-complete-info-68898896.vsix

borkdude16:03:31

@pez The lookup/info op is only supported with bb master right now. Binaries are available in #babashka-circleci-builds

borkdude16:03:17

Oh this is about completions, I get it yeah, so that should work with released bb already

borkdude16:03:29

But if you want to also test the newer thing, use master

pez16:03:45

Roger that!

otwieracz21:03:16

Hey, I’ve got question regarding Calva formatting.

otwieracz21:03:47

When I am typing, after I hit enter after list of arguments of defrecord method implementation:

otwieracz21:03:10

Cursor lands aligned with [ (incorrectly)

otwieracz21:03:49

But after I reformat whole sexp with tab, it get’s to:

otwieracz21:03:12

So basically as I am typing everything is wrong.

otwieracz21:03:33

After I tab it, it get’s correct.

otwieracz21:03:54

This is even weirder. Basically it’s wrong:

otwieracz21:03:00

After I reformat it with tab:

otwieracz21:03:26

Then after I save the file it breaks again.

otwieracz21:03:32

Into what it was above.

otwieracz21:03:41

Are those issues known? Or is there something wrong with my setup?

otwieracz21:03:49

I’ve tried disabling new indent engine, but it seemed to make no difference.

otwieracz21:03:39

(but was not restarting VSCode after altering the settings)

otwieracz21:03:52

Ah maybe it was conflicting with VSCode format-on-save? That will at least resolve part of the problem (breaking the second file on save)

otwieracz21:03:30

And it seems like format as you type is lacking defrecord context - so indenting (foo-bar [car zar] <RET> bar) treating it as function call.

otwieracz21:03:46

Any way to force Calva to re-indent whole top-level sexp when typing?