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
@pez The lookup/info op is only supported with bb master right now. Binaries are available in #babashka-circleci-builds
Oh this is about completions, I get it yeah, so that should work with released bb already
But if you want to also test the newer thing, use master
Roger that!
Hey, I’ve got question regarding Calva formatting.
When I am typing, after I hit enter
after list of arguments of defrecord
method implementation:
Cursor lands aligned with [
(incorrectly)
But after I reformat whole sexp with tab
, it get’s to:
So basically as I am typing everything is wrong.
After I tab
it, it get’s correct.
This is even weirder. Basically it’s wrong:
After I reformat it with tab
:
'
Then after I save the file it breaks again.
Into what it was above.
Are those issues known? Or is there something wrong with my setup?
I’ve tried disabling new indent engine, but it seemed to make no difference.
(but was not restarting VSCode after altering the settings)
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)
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.
Any way to force Calva to re-indent whole top-level sexp when typing?