This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-27
Channels
- # aws (7)
- # babashka (145)
- # beginners (83)
- # calva (18)
- # cider (11)
- # clara (9)
- # clj-kondo (59)
- # cljdoc (4)
- # cljs-dev (4)
- # cljsrn (11)
- # clojure (168)
- # clojure-australia (21)
- # clojure-dev (5)
- # clojure-europe (46)
- # clojure-italy (3)
- # clojure-nl (10)
- # clojure-taiwan (1)
- # clojure-uk (55)
- # clojurescript (85)
- # clojureverse-ops (1)
- # code-reviews (3)
- # conjure (22)
- # cursive (3)
- # datahike (3)
- # datomic (4)
- # emacs (5)
- # helix (20)
- # jackdaw (1)
- # jobs (2)
- # jobs-discuss (7)
- # lsp (1)
- # malli (5)
- # off-topic (85)
- # other-languages (4)
- # practicalli (4)
- # reitit (2)
- # releases (2)
- # sci (62)
- # shadow-cljs (181)
- # testing (5)
- # tools-deps (15)
- # xtdb (31)
I have a Lein project, within a larger project (think of it as a separate module). I notice that when adding this subproject project.clj
to the Leiningen Projects, it only partially works. The namespace warning goes away, and I can click required namespace prefixes to navigate, etc. But I can’t click prefix/fn-name
(i.e. an actual function within the namespace that prefix
is for). It’s strange. And even local symbols can’t be navigated to (i.e. the name in a let
binding for instance). Basically, everything is “Cannot find declaration to go to”, even stuff in clojure.core
. Have tried reloading Lein projects, closing and reopening the IntelliJ project, etc. to no avail. Has anyone else seen this behavior before?
actually, perhaps I need to start over with this: https://cursive-ide.com/userguide/leiningen.html#working-with-multi-module-projects
ah yes, indeed, wiping out the existing project and recreating in this way solved the problem! Too bad I forgot to back up my REPL history though. 😢