Fork me on GitHub
#calva
<
2020-06-18
>
michael.c.lester03:06:25

Somehow broke my REPL 🤔 I accidentally pressed a hotkey which broke the formatting and the REPL is now gone. Any ideas what I did and/or how to fix it? I uninstalled and reinstalled already. Tried restarting VSCode as well.

pez05:06:57

No idea, whatsoever what can have happened. Tried uninstalling and reinstalling Calva?

michael.c.lester10:06:36

The weird thing is that the REPL works in other projects, just not in the one where I pressed the mystery hotkey. Maybe I changed a config file somewhere? :male-detective::skin-tone-4:

pez10:06:59

Does something like running lein repl :connect from a vscode terminal, when the repl is in that state, work?

michael.c.lester11:06:11

Ok I tried again (for the 5th or 6th time) and now it reset the formatting and REPL. I have absolutely no idea how it fixed itself. All I did this time was close the window and reopen that window. Didn’t even kill VSCode 🤔

michael.c.lester11:06:45

Wish I knew what caused it so I could submit a proper issue. Oh well. Thanks for your help @ 🙏:skin-tone-3:

pez11:06:07

You are welcome.

pez11:06:33

Does it work now on jack-in, or do you need to do the close-open dance every time?

michael.c.lester11:06:56

It worked directly on jack-in. Will test one more time now.

pez11:06:50

I’m guessing this will creep up again for some user and maybe someday we will be able to create a repro 😃

michael.c.lester11:06:33

Worked perfectly. Have no idea :shrug::skin-tone-3: Just grateful it is working because I need that particular REPL working ASAP for a project. Feeling lucky 🍀

michael.c.lester11:06:50

> someday we will be able to create a repro Will let you know if it comes up again.

michael.c.lester11:06:14

And thanks again 😃

pez11:06:09

When you have some time I’’d like to have a chat about why the REPL window is important for you. I very seldom use it myself and am planning on creating some alternative to it. Would benefit from input from a REPL window user. 😃

michael.c.lester14:06:40

Sure thing. Not that experienced of a dev, but I can show you what I am working on. Let me know how/when you would like to chat 😃

fadrian18:06:59

For those of you who are interested, this discussion actually started on Tuesday, June 16. I wanted to thank pez for giving me a pointer to something that might help - when I run lein --version in a windows shell, it tells me 2.9.3, but when I run it inside a vscode terminal, it says the version is 2.7.1. Evidently, there's some issue with the environment path and vscode finding the latest version of lein.

pez18:06:46

A workaround is to start VS Code from the command line.

dbernal19:06:13

When evaluating a test form the output gives me some results that look badly formatted. Is there a way to better print the result from that? I'm using midje for testing