Fork me on GitHub
#cider
<
2020-09-16
>
eval-on-point17:09:51

Has anyone been using REBL with cider? I'm having some trouble getting the UI up and am wondering if there are any examples out in the wild for me to study

practicalli-johnny18:09:28

@mitchell_clojure Yes, I have CIDER running with REBL when using Clojure CLI tools (deps.edn) projects. Will dig out the details... http://practicalli.github.io/clojure/clojure-tools/data-browsers/rebl-data-visualization.html#run-rebl-for-nrepl-based-editors This will change slightly when the next version of Clojure CLI tools is release (in a few weeks or so), but its just substituting -R and -A flags with the new -M flag.

practicalli-johnny19:09:23

Yes thats it 🙂

eval-on-point19:09:57

You beat me to it 🙂 thank you for the great resource! Should have known to check there first

practicalli-johnny19:09:33

I am doing a little refactor for the next release of Clojure CLI tools, so it will look more like https://github.com/practicalli/clojure-deps-edn/blob/qualified-alias-keywords-and-new-flags/deps.edn#L297-L316 But you need to use version 1.10.1.681 or greater of the Clojure CLI tools for it to work.

practicalli-johnny19:09:57

There is also Reveal, which has a nice clean UI and you can connect to that with cider-connect if you run the version that has an nREPL server https://practicalli.github.io/clojure/clojure-tools/data-browsers/reveal.html#using-reveal-with-nrepl

practicalli-johnny19:09:23

I still use the cider-inspector the most, its really convienient and does most of what I need (exept turn data into graphs... but I can to that with Oz).

eval-on-point20:09:50

IMO, a great config option with spacemacs and the inspector is

(with-eval-after-load "cider-inspector"
    (define-key cider-inspector-mode-map
      (kbd "f") 'ace-link-cider-inspector))

eval-on-point20:09:20

brings up ace links on all the values, so you don't need to tab over to them