Fork me on GitHub
#calva
<
2020-04-22
>
mmer11:04:25

is it possible to get calva to use the wsl environment rather than windows?

pez11:04:04

It should be possible. Check here: https://calva.io/wsl/

Jay Chamberlin16:04:07

Is there a way to specify extra environment variables when starting the REPL with calva?

pez17:04:21

Yes. There's a setting. Something jackInEnv something.

Jay Chamberlin17:04:22

That did it. Thanks @pez

metal 4
hoppy19:04:38

so to play with @borkdude;s awesome work, tried to edit a simple babashka file with vscode. Set language mode to clojure, but that is a train-wreck. complaints like 'calva-fmt.formatCurrentForm' and 'paredit.deleteBackward' not found. Has anybody figured out a way to work around this?

borkdude19:04:13

@hoppy Do you explicitly set language mode because you are not using the .clj extension?

hoppy19:04:48

I tried it with .bb first, and then set the lang mode, 2nd time just made .clj extension

borkdude19:04:39

I'm guessing that's the issue then? I had zero issues when just editing a .clj file when connected to a babashka nREPL session, last time I tried it

hoppy19:04:07

what extension do you use for this?

borkdude19:04:27

I mean calva

hoppy19:04:28

It's like I got the calva bindings, but not calva proper, but I don't know the jack-in ritual for .bb

pez19:04:37

There has been reports about Calva not activating correctly. Does it work with your regular CLJ/CLJS projects, @hoppy?

hoppy19:04:16

yes, but they are always either lein or shadow, so there is a controlling project - this file is just on mars in the filesystem

pez19:04:22

There is no jack-in for bb yet. You'll need to start the repl and then connect.

borkdude19:04:37

@hoppy I'm using the .clj extension for my babashka scripts. sometimes .cljc

hoppy19:04:00

I stay current on calva I'm on 2.0.93 atm

pez19:04:29

That's a good version. 😃

hoppy19:04:40

aside from this ms lincoln?

hoppy19:04:39

lemme know if there is something I can do on my end to help sort this