This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-11
Channels
- # adventofcode (108)
- # announcements (4)
- # aws (11)
- # babashka (39)
- # beginners (199)
- # calva (12)
- # clj-kondo (17)
- # cljs-dev (1)
- # clojure (115)
- # clojure-dev (9)
- # clojure-europe (98)
- # clojure-italy (17)
- # clojure-nl (4)
- # clojure-norway (3)
- # clojure-seattle (7)
- # clojure-sweden (6)
- # clojure-switzerland (5)
- # clojure-uk (15)
- # clojurescript (41)
- # code-reviews (36)
- # conjure (7)
- # datomic (1)
- # emacs (1)
- # events (1)
- # fulcro (26)
- # graalvm (2)
- # helix (35)
- # jackdaw (2)
- # jobs (9)
- # jobs-discuss (5)
- # lambdaisland (2)
- # meander (24)
- # off-topic (80)
- # pathom (22)
- # pedestal (1)
- # portal (20)
- # re-frame (3)
- # releases (1)
- # reveal (13)
- # rewrite-clj (1)
- # shadow-cljs (8)
- # specter (5)
- # sql (4)
Hey people, I have a question: If your project has multiple sub-projects, then how are you handling multiple REPLs? Are you opening a new workspace/window for every sub-project?
Hiya, this might help you: https://calva.io/workspace-layouts/#one-folder-two-windows Unfortunately there's not yet better support for this, but this seems to be what people do when they need this in Calva.
I tried babashka for the first time. I started bb repl with bb --nrepl-server 1667
and used Calva to connect to that repl with “Connect to a Running REPL…” -command. Calva connected to it and I was able to eval code without a problem but I noticed that the function docs didn’t show up in the editor when I hovered cursor above the function names. Is there some trick to get this working or do you think it is a limitation of bb nrepl?
also the code navigation doesn’t work, so I cannot go to my own function definitions or clojure.core. I remember I have had this same problem with I was playing with REBL + Calva long time ago
Maybe you can inspect what messages get sent to the babashka repl, which op it's using?
Do you think I can inspect those messages with some nrepl middleware or is there easier way to do it?
In emacs it's pretty easy. I'm not sure how to do it in Calva. @U0ETXRFEW?
Could the problem be that bb nrepl is missing the required stuff that Calva usually adds when it starts an nrepl server with jack-in:
Executing task: clojure -Sdeps '{:deps {nrepl {:mvn/version "0.8.2"} cider/cider-nrepl {:mvn/version "0.23.0"} clj-kondo {:mvn/version "2020.04.05"}}}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
If I have understood correctly instellisense + code navigation relies to those?I think this is not true since I found: “Babashka’s nREPL server supports all core nREPL operations, plus code completion, so you’ll get all of CIDER’s basic functionality with it.” (https://docs.cider.mx/cider/platforms/babashka.html)
Currently Calva depends on cider-nrepl, which is not implemented/supported with bb, yet. So it's a more bare bones experience.
Okay, thanks for confirming this đź‘Ť:skin-tone-2: