This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-19
Channels
- # announcements (3)
- # babashka (42)
- # beginners (84)
- # calva (3)
- # cider (13)
- # clj-kondo (9)
- # cljs-dev (6)
- # cljsrn (32)
- # clojure (47)
- # clojure-argentina (4)
- # clojure-france (2)
- # clojure-spec (17)
- # clojure-uk (15)
- # clojuredesign-podcast (4)
- # clojurescript (41)
- # conjure (53)
- # cursive (16)
- # data-science (5)
- # duct (1)
- # emacs (11)
- # events (1)
- # exercism (3)
- # fulcro (48)
- # graalvm (20)
- # graphql (1)
- # joker (3)
- # kaocha (2)
- # malli (2)
- # meander (6)
- # pathom (3)
- # planck (18)
- # rdf (3)
- # re-frame (14)
- # ring-swagger (1)
- # shadow-cljs (15)
- # specter (1)
sup, I notice cider adds imports for some of my stuff sometimes. I wonder if there's a way to import arbitrary symbols. I imagine if I have a class name there may be something that looks for that class name on my classpath and adds the import
this is saves me one step but I still need to know where the class is coming from: https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-add-import-to-ns
I'd like to not have to type the whole package name (many times because I don;t know and I need to google the package name)
on the cljr-auto-clean-ns
the user knew that they had to type java.util.Date
but I'm guessing it could be possible to get all the different classes named "Date" from the classpath and offer a popup or something
I wonder if someone already did something like that
gotcha
apparently there's a library to scan resources in the classpath, including classes and files under teh resources folder
https://github.com/ronmamo/reflections/blob/gh-pages/UseCases.md#find-resources-in-your-classpath
tempted to embark on a big yak shaving trip, but I better go back to my code at hand 🙂