This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-07
Channels
- # 100-days-of-code (1)
- # announcements (10)
- # aws (2)
- # beginners (134)
- # calva (25)
- # cider (29)
- # cljs-dev (43)
- # clojure (130)
- # clojure-dusseldorf (3)
- # clojure-italy (27)
- # clojure-nl (48)
- # clojure-spec (32)
- # clojure-uk (63)
- # clojurescript (75)
- # core-logic (5)
- # cursive (18)
- # datascript (2)
- # datomic (37)
- # emacs (5)
- # figwheel (13)
- # figwheel-main (55)
- # graphql (1)
- # java (7)
- # jobs (11)
- # jobs-discuss (19)
- # juxt (1)
- # leiningen (16)
- # luminus (10)
- # mount (3)
- # off-topic (40)
- # om (1)
- # onyx (1)
- # pedestal (7)
- # re-frame (40)
- # reagent (81)
- # ring (2)
- # shadow-cljs (32)
- # spacemacs (5)
- # testing (1)
- # tools-deps (48)
@richiardiandrea ok, I'll go watch that. Thanks
Btw, nothing has really changed between 0.16 and 0.18 with respect to how binaries are resolved by CIDER - we just look on Emacs’s exec-path
and run whatever happens to be there. CIDER doesn’t check any Java env variables.
Thanks for the added context. I still haven’t gotten to the bottom of my issue, but knowing this info is useful.
Maybe someone here can help with this: https://clojureverse.org/t/spacemacs-clojure-mode-auto-inserts-requires-in-ns-declarations/2786
@martinklepsch this is indeed cljr, but instead of turning the whole package off you can turn the feature off with (setq cljr-magic-requires nil)
@benedek If you have an account on http://clojureverse.org feel free to post that there, I'm not the author of the post... just noticed it was unanswered for two days and probably easy to answer by the right people 🙂
(if you don't have an account I can post it of course)
feel free to post it with this link https://github.com/clojure-emacs/clj-refactor.el/wiki#magic-requires
Done 🙂 I wonder if this should be disabled for user/
by default btw. Common single segment namespace etc...
not a bad idea. although as far as i remember cljr looks at what aliases you use in your project
so if you have some proper ns aliased as user that should be autoinjected here instead of plain user
Yeah, just throwing it out here, I have no clue how cljr works 😛
has anyone successfully run figwheel-main in CIDER? I’m looking for instructions for how to do it
I did find this repo: https://github.com/arichiardi/figwheel-main-cider
When I jack-in-cljs with this I kinda get a REPL, but I can only interact with it via a stdin:
prompt in my minibuffer
re: JAVA_HOME and environmental variables. I was thinking CIDER doesn't make use of these of course. But if these values differ from the environment of a shell it could lead to a different jvm invoked by lein in the emacs environment versus the shell environment. The observed behavior was java 8 in the shell and java 9 in CIDER
@christian767 i am able to get CIDER working with figwheel-main with https://github.com/pesterhazy/cljs-spa-example
I just created a github issue for behavior I saw where cider error handling is broken for the new clojure 1.10.0-alpha7
: https://github.com/clojure-emacs/cider/issues/2443
there is a build script that you need to run before hand. i think in /scripts
so check that out. but after that it should boot up just fine
does cider assume that spec keywords are always prepended by a namespace in its helpers? I am not sure but it feels like it
especially the browse functionality