This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # 100-days-of-code (13)
- # announcements (3)
- # beginners (122)
- # boot (17)
- # calva (19)
- # cider (27)
- # cljdoc (3)
- # cljs-dev (1)
- # clojure (138)
- # clojure-dev (5)
- # clojure-italy (5)
- # clojure-nl (20)
- # clojure-russia (3)
- # clojure-spec (14)
- # clojure-uk (119)
- # clojurescript (45)
- # core-async (2)
- # datomic (23)
- # editors (28)
- # emacs (35)
- # figwheel (2)
- # fulcro (26)
- # graphql (2)
- # hyperfiddle (11)
- # jobs (4)
- # luminus (5)
- # mount (2)
- # off-topic (52)
- # onyx (39)
- # reagent (86)
- # ring-swagger (2)
- # spacemacs (20)
- # tools-deps (9)
- # yada (4)
I have to work on a small Java project 😞 and have never used emacs for Java. Is it doable or should I just use IntelliJ for the Java? If anyone uses emacs for Java and could point me to their config I would greatly appreciate it! thx!
OK, I may be in the minority here using inf-clojure instead of Cider, but inf-clojure creates a command inf-clojure-eval-last-sexp that sends the expression before point to the REPL buffer and evaluates it. At least with the version I am using, it does not cause the REPL buffer to show the expression, only the output from evaluating it. I'd like a similar command that shows the expression in the REPL, too, so when I am reading through the REPL I can see what was being evaluated, not only its output.
Off-topic, but do you have an elisp config that juggles between using inf-clojure and cider? I would be interested in knowing how that's done
I'd like to do development and cider, and then maybe try and spin up a inf-clojure repl for a production server
@andy.fingerhut I think we already have this command. Let me just see how it was named. Something like
Ah, actually there are such commands only in CIDER. They blur in my mind from time to time. Please file a ticket for this and I’ll get it done when I can. I don’t pay much attention to inf-clojure these days (too many projects going on), but for someone I respect so much I can add a couple of simple commands. 🙂
the repl is connected since I can do
(js/alert ) from it and auto reloading works
but I can't evaluate anything in the cljs files, it says the Repl is not connected
it was working yesterday and I didn't really change anything, I also moved from 0.18 stable to the 0.18 snapshot
maybe it's something to do with the project itself, but still is there a way to try to assign a repl?
@andrea.crotti In the 0.18.1-snapshot branch we only have a few small bugfixes. Nothing significant has changed.
I'm actually really confused about what's going on, I tried now on another machine as well and it's the same thing
it seems to all work correctly, the cljs repl stays in pending cljs and then renames to
no errors at all in the JS console or in the cljs repl though, which still works if I call something directly
alright I found the problem
- [com.cemerick/piggieback "0.2.2"] + [cider/piggieback "0.3.9"]
so probably it just stopped working with 0.1.8 and that old version of piggieback
@andrea.crotti you probably just saved me a bunch of work figuring out the same issue. haven't been able to evaluate in a CLJS REPL in a certain project since updating CIDER/etc.
maybe an extra assertion somewhere might help @bozhidar? for example to make sure you have a recent version of piggieback?
hmm actually that didn't fix it lol. I notice that when I connect, I get a message
version-to-list: Version must be a string
> maybe an extra assertion somewhere might help @bozhidar? for example to make sure you have a recent version of piggieback?
Yeah, I’ve been planning to do this for a while, as many people were bit by this. Haven’t had much time for CIDER the past few weeks, though.