This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-28
Channels
- # aleph (16)
- # announcements (7)
- # asami (4)
- # aws (26)
- # babashka (26)
- # babashka-sci-dev (50)
- # beginners (118)
- # biff (7)
- # calva (15)
- # cider (6)
- # clj-kondo (8)
- # cljs-experience (3)
- # clojure (30)
- # clojure-austin (26)
- # clojure-europe (20)
- # clojure-france (2)
- # clojure-ireland (1)
- # clojure-nl (3)
- # clojure-norway (2)
- # clojure-spec (7)
- # clojure-uk (6)
- # clojurescript (12)
- # community-development (5)
- # conjure (1)
- # copenhagen-clojurians (3)
- # core-typed (71)
- # cursive (3)
- # datomic (1)
- # emacs (4)
- # fulcro (2)
- # helix (2)
- # introduce-yourself (3)
- # jobs (1)
- # london-clojurians (6)
- # lsp (122)
- # malli (2)
- # missionary (5)
- # overtone (14)
- # pathom (4)
- # polylith (1)
- # reagent (4)
- # reitit (1)
- # releases (1)
- # shadow-cljs (80)
- # testing (10)
- # tools-deps (6)
- # vim (3)
- # xtdb (19)
That’s amazing! Does it also work for arbitrary 3rd party Java libraries pulled from Maven?
Awesome! Thanks so much for this. I was looking for something exactly like this a few weeks ago, when I was struggling with Google’s API Client for Java.
@U01PE7630AC Right now it only works when you :import
a class and then use it but I'll fix the rest in the coming week
Here’s the thread I was referring to by the way, where we wound up chatting about reflection, etc. https://clojurians.slack.com/archives/C053AK3F9/p1647546059258699?thread_ts=1647531377.941159&cid=C053AK3F9
My Calva updated itself, and when I tried to jack-in I got a prompt to choose among about 10 project.clj's. a) The menu was narrower than the ~10 filenames, so I could not distinguish the options. b) The directory I opened has 1 project.clj, right there. It also contains a "checkouts" directory, a Leiningen feature where you symlink the dependencies in order for Lein to use their working dir in the classpath instead of putting a jar in the classpath. I suspect Calva picked up all the symlinked projects' project.clj. In a true monorepo, these won't be symlinks. Could Calva not follow symlinks when hunting for project.clj?
Please also file an issue about the menu being too narrow. I realize you might not want to share a screenshot, but you can just describe it. Or if you want to gain golden stars in heaven (as we say in Swedish) you can create a project scenario with fake paths that illustrate it, as a public repo. This one will be tricky to fix, but again, we can try!
@U02EMBDU2JU, time for your suggestion with predefined search results, maybe! 😃
Yeah, not the usecase I was thinking of but it would solve the problem 🙂
Seeing this issue https://github.com/BetterThanTomorrow/calva/issues/1643 I just realized that this can probably be handled by adding an exclusion for checkouts
. See https://calva.io/connect/#monorepos-multiple-clojure-projects-in-one-workspace