Is there a way to get every interned keyword in the runtime (for editor autocompletion)? In Clojure, I use this ugly hack:
(let [field (.getDeclaredField clojure.lang.Keyword "table")]
(.setAccessible field true)
(map keyword (.keySet (.get field nil))))
But that won’t work with sci/Babashka.@flowthing Hi. I think we need to this in bb at compile time
There is also an issue about this here: https://github.com/babashka/babashka.nrepl/issues/55
Gotcha. 👍 That won’t help me, unfortunately, but this is something I can live without.
Regarding this: https://clojurians.slack.com/archives/CLX41ASCS/p1662578187052399
I’m wondering whether it would make sense to have sci/copy-ns copy :file meta as well. This would let us implement goto definition for copied things.
not really though right? the file is around on the system that is compiling bb but not on other systems
Oh, that’s right. picard-facepalm