This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-06-16
Channels
- # ai (1)
- # announcements (3)
- # architecture (14)
- # aws (1)
- # babashka (8)
- # beginners (62)
- # biff (27)
- # calva (14)
- # clerk (6)
- # clj-kondo (6)
- # cljsjs (1)
- # clojure (59)
- # clojure-austin (1)
- # clojure-europe (15)
- # clojure-gamedev (5)
- # clojure-norway (246)
- # clojurescript (3)
- # community-development (5)
- # cursive (4)
- # data-science (6)
- # datomic (90)
- # events (1)
- # lambdaisland (1)
- # lsp (20)
- # matrix (1)
- # meander (6)
- # music (1)
- # off-topic (59)
- # pedestal (2)
- # releases (3)
- # shadow-cljs (90)
- # specter (6)
- # tools-build (5)
- # tools-deps (5)
- # xtdb (11)
Hi, Does anyone know how to start babashka REPL via WSL (without running entire VSCode in WSL). I.e. currently, when I start REPL I see it does something like:
bb --nrepl-server 59167
And I want it to do:
bash -c 'bb --nrepl-server 59167'
Hm... I think I wasn't clear enough :) I want Calva to start my REPL, but with slighly different command
I can step in. 😃 The customJackInCommandLine
option of the https://calva.io/connect-sequences/ should be able to cover this.
Well, I saw this and didn't understand how can I acheive what I need with that, that is why I'm here asking :)
Settings like this, should do it:
"calva.replConnectSequences": [
{
"name": "BashBB",
"projectType": "custom",
"customJackInCommandLine": "bash -c 'bb --nrepl-server JACK-IN-NREPL-PORT'",
},
]
The JACK-IN-NREPL-PORT
will be replaced by a random high port that Calva “reserves”.💡 2
Note to self (and @U9A1RLFNV): We could add this example to http://calva.io, as it is probably quite generally useful.