This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-27
Channels
- # announcements (8)
- # babashka (2)
- # calva (21)
- # clojure (30)
- # clojure-europe (4)
- # conjure (1)
- # core-logic (5)
- # data-science (1)
- # emacs (10)
- # hyperfiddle (1)
- # introduce-yourself (1)
- # luminus (62)
- # meander (23)
- # nbb (26)
- # off-topic (9)
- # reitit (2)
- # spacemacs (2)
- # squint (65)
- # tools-build (4)
- # tools-deps (17)
- # xtdb (20)
Hey folks, am I missing something or are there no installation instructions on https://calva.io?
I have not thought it was worth instructing about something so easy. And so far no user has ever asked about this. But now I've added it anyway, for completeness: https://calva.io/getting-started/
Hello! I'm trying out Calva with a brand-new project generated with deps-new
, but I'm not sure how to integrate Jack-in with my project? I'm trying "Jack-in" > "deps.edn" > no alias, but when I try alt+enter
on any top-level function there's no output, not even a nil
Is the repl status bar item indicating that the the repl is connected? What do you see in the repl output window?
It indicates that it's connected, and I'm getting this as output:
clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version,"1.0.0"},cider/cider-nrepl {:mvn/version,"0.28.5"}}}' -M -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
nREPL server started on port 33571 on host localhost -
That looks good. It is what we refer to as the jack-in terminal. There should also be a file/document showing with some welcoming message and repl output. If it's not showing you can open it with a command. Search the command palette for something like “Calva output” and you should find the command.
In case someone wants to answer a Calva Q https://ask.clojure.org/index.php/12126/there-way-place-elements-collection-vertically-with-calva
And created an issue: https://github.com/BetterThanTomorrow/calva/issues/1843
When I connect to a running nREPL server (so no jack-in), why does calva still ask what the project type is?
I'm not recalling all the details here. But one reason is so that we know which nrepl port file to look for.
It does. 😃 A second reason is to know if we should start and/or connect any ClojureScript REPLs. And if we should we want to know a thing or two about the project in order to present the right options to the user.
Thanks for elaborating. That's really helpful. Do you have any mechanism for configuring these things on a project level so the user doesn't always get these prompts?
in emacs one of the first things I do on a project is set up a .dir-locals.el so that CIDER doesn't bother me with the same questions over and over again 🙂
Yes, search for connect sequences on http://calva.io
Thanks, I found this. Is this something I configure inside vs code, or does it go into a file in the project? https://calva.io/connect-sequences/