This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aleph (2)
- # announcements (1)
- # beginners (133)
- # cider (29)
- # cljdoc (9)
- # cljs-dev (2)
- # cljsjs (3)
- # cljsrn (1)
- # clojure (146)
- # clojure-dev (26)
- # clojure-europe (3)
- # clojure-italy (26)
- # clojure-japan (6)
- # clojure-nl (76)
- # clojure-spec (4)
- # clojure-uk (42)
- # clojurescript (17)
- # cursive (43)
- # datascript (1)
- # datomic (28)
- # emacs (4)
- # figwheel-main (13)
- # fulcro (26)
- # hyperfiddle (2)
- # jobs (9)
- # jobs-discuss (6)
- # leiningen (1)
- # mount (5)
- # onyx (8)
- # pathom (5)
- # pedestal (2)
- # re-frame (52)
- # reagent (21)
- # reitit (58)
- # ring-swagger (24)
- # shadow-cljs (95)
- # sql (14)
- # test-check (10)
- # yada (18)
hi guys. A problem with
shadow-cljs with CIDER. I am not able to start two REPLS, one for CLJ and one for CLJS, with
cider-jack-in-clj&cljs. If I pick
clojure-cli, I get:
Here's my project, if you need more details: https://github.com/manuel-uberti/boodle
error in process filter: user-error: The shadow-cljs ClojureScript REPL is not available error in process filter: The shadow-cljs ClojureScript REPL is not available
> @achikin i appreciate your points as an in/out maintainer of some fringe stuff around cider perhaps even responsible sometimes for some breaking changes. however, would be even grateful if you could contribute some draft plans how to address these and perhaps even drive the effort to implement them.
> @jr0cket being cider user for two years I have already learned everything you mention in your article the hard way 🙂 My point is that as an every day Cider user I wish it could be more stable. Or at least some warnings/messages are shown before breaking changes are introduced. (edited)
I completely understand you. It’s mostly a manner of limited resources and making certain (hard) compromises in the name of make progress. I hope the connection management stuff is going to be last big breaking change in the foreseeable future.
(on the bright side - I finally started annotating the breaking changes explicitly; probably I’ll also start writing some upgrade notes if possible)
Thank you for your explanations. I've just stumbled upon one of those places
‘cider-refresh’ is an obsolete command (as of 0.18); use ‘cider-ns-refresh’ instead. and I'm very glad that
cider-refresh is still working as for now, and I have a chance to adjust my Spacemacs config (which is a bit behind current cider version) accordingly.
@benedek hey 👋 On cljdoc some projects have inlined namespaces (via MrAnderson) that show up in API docs. I'm planning on adding some way to exclude namespaces via configuration but was also wondering if MrAnderson could add
:no-doc metadata to namespaces that have been imported from other artifacts?
I took a look at the code and the moving of .clj files seems fairly basic so I'm not sure if modifying of metadata is possible without using more advanced machinery like rewrite-clj...
An example: https://cljdoc.org/d/cider/cider-nrepl/0.19.0-SNAPSHOT
oi @martinklepsch good shout. i actually plan to do a refactoring round to make use of rewrite-clj. care to file an issue for me tho so i don't forget?
if you need a workaround mrandersoned stuff is usually prefixed so easy to filter them out
Yeah, I figured that just excluding anything below
cider.inlined-deps.* is probably a reasonable way forward. Is
inlined-deps the default prefix?
can you give me an example of the default? can't find one in the readme
Ok, some progress with
shadow-cljs, following their guide to enable it in CIDER. Only thing that doesn't work now is
cider-find-var (`M-.`), but still some progress at least. 🙂
I should have patched that in
cljs-tooling not sure it has been included upstream - @bozhidar might know more
everything's fixed now. I removed CLJS settings from my
.dir-locals.el and added
Maybe it would be nice if Cider would render
[[wikilinks]] similar to code in docstrings?
Is there a built-in command for eval-ing a “top-level” expression which is in a comment (similar to functionality in Cursive and ProtoREPL)?
In the above, if the cursor is at the
(comment (println "don't print this") (println | "do print this"))
(println "do print this")and print the result in the repl.
It's in clojure mode. Check out the defcustoms in there. I'm not at a computer but it has top level in the name
Clojure mode let's you redefine what the top level form is and then you use C-c C-j d the insert top level form into the repl