It took me a while to figure out how to prepare a REPL-driven-development experience where I can make modifications to the code and see the result in a few seconds, but it's slowly starting to work. It's a bit buggy, but quite awesome. Developing scripts against bb --nrepl-server
with calva will be way better with parameter support and docs.
Found posible issues:
1. when you use (:require
with :as
aliasing of some namespace, function name completion of that namespace will get duplicated. Perhaps there's already some error present in current version in :complete
message handling or something similar?
2. if I use such aliasing, (such as s/includes?
where s is alias for clojure.string), this new info
functionality works fine in function name completions only when you use full namespace, not when you use the prefix form. If prefix is used, a bit weird combination of namespace and symbol seems to be passed in the message. In mentioned case namespace=clojure.string
and symbol=s/includes?
. I don't know what's the contract of this message, but this combination doesn't feel right (I'd expect that the symbol shouldn't include the s/
prefix). But as I said, I don't know the contract.
3. some of the functions seems to be missing their docs, such as <http://clojure.java.io/as-file|clojure.java.io/as-file>
, possibly because protocols are implemented in a bit different way in babashka?
It might also be possible to get some really basic information about java class methods (even without reflection), such as the types and positions of their parameters. But I'll have to look more into that.
Here's a short video of current status. Will need to clean that up a bit tomorrow or some following day and file a PR.
https://www.youtube.com/watch?v=MmZps7FvMSg
Anyone doing devops with babashka? especially anyone using kubernetes too?
Maybe @heow since he mentioned kubernetes yesterday?
absolutely! ...and looking to hire!
https://www.linkedin.com/jobs/view/full-stack-engineer-at-ata-llc-2455575149
the last link is ONE of the things we do