This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-03
Channels
- # announcements (15)
- # babashka (143)
- # babashka-sci-dev (2)
- # beginners (35)
- # biff (11)
- # calva (5)
- # cider (8)
- # clerk (4)
- # clj-kondo (58)
- # cljdoc (6)
- # clojure (88)
- # clojure-denmark (1)
- # clojure-europe (77)
- # clojure-nl (1)
- # clojure-norway (16)
- # clojure-uk (1)
- # clojurescript (19)
- # clr (32)
- # code-reviews (158)
- # datahike (5)
- # datomic (10)
- # deps-new (3)
- # fulcro (12)
- # graalvm (20)
- # honeysql (23)
- # hyperfiddle (32)
- # kaocha (17)
- # membrane (6)
- # observability (1)
- # other-languages (2)
- # pathom (5)
- # practicalli (12)
- # reagent (4)
- # reitit (7)
- # releases (1)
- # sci (25)
- # shadow-cljs (52)
At work, I'm encountering difficulties trying to launch a cider-repl in one of our projects via cider-jack-in-clj
. Specifically, I'm getting the following error message: Could not start nREPL server: java.io.IOException: Cannot run program "java" (in directory "....."): CreateProcess error=206, filename or extension is too long
. However, running lein repl
appears to work without any issues. I was wondering if anyone has any suggestions for how to address this problem?
I seem to remember seeing this problem before, and having to do with Emacs and your shell having different configurations for the PATH. Mainly, the directory where the java binary is, being part of the shell PATH, but not being part of it in the PATH Emacs uses to run thhe cider-jack-in-clj
command.
I think it must be something else, as it works in other projects and there's no path fiddling in the project itself
is there a good way for me to find unused functions in my (ClojureScript) project to delete? Here's what I thought of:
• clj-kondo will tell me if a private function is unused in a file, but afaik doesn't help with public functions
• CIDER has fn-refs
but i think it only works for Clojure
• clj-refactor
seems like it should have the ability to do this but i'm unaware of a function for it and also not sure if it works on ClojureScript projects
it's okay if it's not 100% perfect (i.e. misses edge cases where you're doing super dynamic stuff). I just don't want to manually grep every function in my project that I think might not be used.
beautiful, thank you!