This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-20
Channels
- # announcements (16)
- # aws (1)
- # babashka (24)
- # beginners (54)
- # calva (25)
- # cider (4)
- # cljs-dev (2)
- # clojure (16)
- # clojure-dev (39)
- # clojure-europe (18)
- # clojure-nl (1)
- # clojure-uk (4)
- # clojurescript (66)
- # core-async (16)
- # cursive (13)
- # datomic (15)
- # deps-new (1)
- # duct (22)
- # fulcro (20)
- # jobs-discuss (1)
- # kaocha (3)
- # lsp (11)
- # malli (8)
- # off-topic (38)
- # other-languages (18)
- # polylith (18)
- # portal (15)
- # react (2)
- # reagent (9)
- # reitit (7)
- # releases (10)
- # reveal (1)
- # sci (13)
- # shadow-cljs (3)
- # specter (4)
- # sql (4)
- # xtdb (16)
Hi, is it possible to assign specific deps.edn path to connect sequence? I have monorepo project with several subprojects and when I try to jack in it searches for nearest deps.edn and launches, but I want to use top level deps file.
@armed Start the REPL yourself from the terminal and connect to it from Calva.
(we have a monorepo with lots of deps.edn
files at work)
For me, VS Code needs restarting a lot more often than my REPL.
@seancorfield yes doing it, but would like Cursive like functionality, where I can start specific repl with hotkeys
I tend to have three or four REPLs running, started from terminals, all running for weeks...
Updates, mostly.
I also find I need to reload the VS Code window even between updates, as LSP or some other thing stops working and needs to be restarted...
Mainly I was using Cursive and just don't close Idea at all. Updates is not so often for it
@seancorfield sorry for dumb question. For example I have several repl's running. How do you manage to connect to specific ports? Do you manually enter port numbers in connect dialog or calva can store it somewhere?
for example I have one dev repl to port 7888 and a few remote repls for each module running somethwere
(I actually use Clover for my REPL because I use Socket REPLs everything, not nREPL, so it's different for me)
I don't know if Calva reads the .nrepl-port
file to prefill the port number -- Clover does that with .socket-repl-port
which is a file my :dev/repl
alias writes (see my dot-clojure and vscode-setup-clover repos for how I have all this setup).
Ok got it working. Connect sequence can run w/o jack-in too. I just created specific port files for each remote running repl and made sequence for each. Thanks Sean
Hi, @pez I couldn't figure out how to set nReplPortFile
for alternate file locations. For example I have two locations of port file ['.nrepl-port', '../.nrep-port']
(for root project and nested), but only first one works. If I go to nested project and fire up remote repl the port number in connect window is empty.
It’s not for alternating port files, iirc. It’s for one path, I.e. ['..', '.nrepl.port']
.
I think your whole use case can be supported much better. Please chip in with what you would want working on this issue: https://github.com/BetterThanTomorrow/calva/issues/1254