This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-13
Channels
- # aleph (1)
- # announcements (18)
- # babashka (11)
- # beginners (112)
- # business (1)
- # calva (19)
- # cider (8)
- # clj-kondo (63)
- # cljsrn (10)
- # clojure (188)
- # clojure-australia (1)
- # clojure-dev (38)
- # clojure-europe (112)
- # clojure-nl (3)
- # clojure-provo (1)
- # clojure-spec (22)
- # clojure-uk (108)
- # clojurescript (37)
- # cryogen (4)
- # cursive (8)
- # data-science (1)
- # datomic (13)
- # emacs (9)
- # events (1)
- # fulcro (26)
- # funcool (3)
- # graalvm (2)
- # graphql (11)
- # helix (8)
- # jobs (1)
- # jobs-discuss (7)
- # nrepl (3)
- # off-topic (72)
- # pathom (10)
- # pedestal (1)
- # reagent (6)
- # reitit (7)
- # remote-jobs (1)
- # shadow-cljs (28)
- # xtdb (12)
ns-path
behaves differently for clj and cljs.
cljs: (cider-nrepl-send-sync-request `("op" "ns-path" "ns" "ampie-frontend.events.user")) -> (dict "status" ("done") "id" "1009" "path" "ampie_frontend/events/user.cljs" "session" "1aa9e7df-efad-453e-968c-6c32fc32d531")
clj: (cider-nrepl-send-sync-request `("op" "ns-path" "ns" "ampie-backend.users")) -> (dict "status" ("done") "id" "443" "path" "file:/Users/posobin/2020/dev/ampie-backend/src/ampie_backend/users.clj" "session" "0a41d39a-4235-4b7e-9e01-5a83809bd891")
The file path for cljs is relative to classpath looks like. Is there a way to fix this? Because of that cider's cider-find-ns
doesn't work correctly on my cljs project, it switches to a wrong buffer, which is also called user.cljs
, but in a different directory.
Should I file this as a bug to nrepl?