This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-11
Channels
- # aleph (1)
- # aws (4)
- # aws-lambda (5)
- # beginners (85)
- # cider (39)
- # cljs-dev (3)
- # cljsrn (1)
- # clojars (1)
- # clojure (129)
- # clojure-italy (14)
- # clojure-nl (5)
- # clojure-nlp (1)
- # clojure-uk (61)
- # clojurescript (52)
- # cursive (3)
- # datomic (42)
- # duct (3)
- # emacs (9)
- # fulcro (60)
- # graphql (2)
- # juxt (2)
- # keechma (1)
- # leiningen (4)
- # midje (2)
- # off-topic (8)
- # onyx (3)
- # overtone (1)
- # re-frame (22)
- # reagent (51)
- # reitit (3)
- # remote-jobs (3)
- # ring (4)
- # ring-swagger (1)
- # rum (4)
- # shadow-cljs (14)
- # specter (28)
- # tools-deps (85)
- # vim (9)
@theeternalpulse Yeah, it has to be on your classpath and shadow will leverage it properly.
@richiardiandrea I just checked in src
and everything there seems correct to me. If you’re referring to the extra clojure
dir, that’s because nREPL still has a bit of Java code under src/java
. I’ll likely drop the Java code at some point.
Oh ok got it, I was updating Shadow's namespaces today and I thought the error was due to that. Rather haste conclusion actually. Will report back.
How do I alter the host list shown by cider-connect
? for some reason it won’t include ‘localhost’ until i’ve actually opened a connection to localhost
once while Emacs is open. i’ve grepped all over the place to try find a history file, to no avail. it seems to be inferring a bunch of hosts from my ~/.ssh/config
too
I think it looks down the path, and for lein looks at greps the process for the port and host
I had a pr to include additional paths, but I don't think it covered all the bases.
so I'm having an issue where when I do cider-load-buffer
everything seems to work fine – it'll even print stuff to the repl buffer and whatnot
what do you mean eval? do you mean typing a form in at the repl and evalling, or using the commands to eval last sexp in a code buffer?
can you try m-x nrepl-toggle-message-logging
? It will show you the messages going back and forth
so for my dev profile in lein, I've got a source dir env/dev/src
:` :source-paths ["env/dev/src"]`
the file at env/dev/src/sketch.clj
has (ns sketch
but cider was thinking it was supposed to be (ns dev.src.sketch
that seems weird. I don't think CIDER expects stuff like that. I thought that's classpath stuff
does anybody knows why the following keys are not defined in my repl?
(with-eval-after-load "cider-repl-mode"
(define-key cider-repl-mode-map (kbd "C-c r f") 'ar-emacs-cljs-figwheel-main-repl)
(define-key cider-repl-mode-map (kbd "C-c r n") 'ar-emacs-cljs-node-repl)
(define-key cider-repl-mode-map (kbd "C-c r p") 'ar-emacs-cljs-piggieback-node-repl)
(define-key cider-repl-mode-map (kbd "C-c r b") 'ar-emacs-cljs-boot-repl)
(define-key cider-repl-mode-map (kbd "C-c r s") 'ar-emacs-cljs-shadow-select-repl))
I need cider-repl
there, which is the "namespace" of the file