Fork me on GitHub
#calva
<
2022-01-31
>
dabrazhe12:01:27

Hi, I've lost auto prompting of functions' doc string and signature when typing. The names are prompted but there is no doc string listed. How do I get it back? Restarting VSC did not help.

Lukas Domagala13:01:51

is that with a running repl? and do you mean by “auto prompting”?

dabrazhe14:01:53

yes, the repl is fine. I am not sure of the exact term, when I type the function name it used to display the function names and doc strings. Now it's gone, see the image above. The doc string has disappeared since recently

Lukas Domagala14:01:35

mhh sorry, not sure then. It looks as if the completionItems returned by the repl don’t contain the extra info. Is this project accessible from somewhere? I can’t reproduce the problem, even when using a babashka nrepl.

dabrazhe21:01:08

Just created a new project with the basic (ns calvatest) and started the babashka nrepl in that dir. The result: same issue, no doc string on auto completion

Lukas Domagala21:01:29

@U0ETXRFEW Any ideas? I can’t reproduce this at all.

pez21:01:42

Does it work before the repl is connected?

dabrazhe18:02:06

when the repl is not connected autocomplete does work, but no doc string, ie the same behaviour

Kurt Harriger14:02:28

are you you starting the repl from VS Code or externally and connecting to running repl. When starting from vscode some dependencies are added when starting the repl and it may not work if they are missing. If you want to start repl from commandline and connect there is also a copy Jack-in command to clipboard command to try

dabrazhe22:02:30

I am connecting to the already running nrepl. I guess there's a setting /config that has changed, because it has suddenly stopped working, I have to google all the functions that is rather inefficient

Lukas Domagala10:02:29

@U96LS78UV I’m guessing you are missing the cider-nrepl middleware. Try running the “Copy jack-in command to clipboard” command, then you’ll see how you should start your nrepl for the extra stuff to work

Lukas Domagala10:02:39

or you can start the nrepl from inside calva with the “jack-in” command, but I’m guessing that’s not possible for you?

dabrazhe12:02:35

I can do both, the Jack in command it pretty much the same for bb, eg bb --nrepl-server 53593 But the result's the same: there's no doc string on completion. I've reinstalled Calva but it did not help