This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-09
Channels
- # announcements (1)
- # beginners (166)
- # calva (2)
- # cider (7)
- # clojure (21)
- # clojure-dev (11)
- # clojure-italy (3)
- # clojure-russia (5)
- # clojure-spec (13)
- # clojure-uk (1)
- # clojurescript (251)
- # core-async (2)
- # cursive (14)
- # emacs (6)
- # events (8)
- # figwheel-main (5)
- # fulcro (17)
- # off-topic (8)
- # pedestal (3)
- # tools-deps (17)
I'm developing project A which depends on B, now I opened a file of B and would like to evaluate it in the REPL session of A to quickly test something. Is there a way to link the project to an existing session somehow?
If A depends on B should not it not all work in the A repl directly?
@martinklepsch i opened a project and jacked-in and then went to another project and ran sesman-link-buffer
. you could try different "linkings" to eval that in the current project. presumably it would clobber and update the dependency?
@dpsutton that's probably what I was looking for
@andrea.crotti the two projects are in different directories and so cider thinks there's no connection for the current buffer. or so is my understanding at least
Yep, that’s right. See http://www.cider.mx/en/latest/managing_connections/ for more details on how sesman currently works. I definitely want us to add some more permissive evaluation mode down the road to account for such situations. Especially if you have just a single connection.
With a deps.edn
project, how do I run a repl from emacs? cider-jack-in
fires a repl but does not import the required libraries. Running clj
from the project root works (edited)
I keep getting Could not locate ... in the classpath