I'm trying to use it instead of REBL for a while with Atom/Chlorine, so I've modified my "REBL submit" code to simply tap>
all the values since Reveal adds a tap by default (very nice and simple). I'm just very used to being able to nav
on map elements when I'm in table view 🙂
It looks like you don't currently support datafy/nav on general values? e.g., I use jedi-time which extends datafy/nav to Java Time but Reveal doesn't currently recognize that... I assume that's part of the "to do: improve datafy/nav support"?
For Jedi Time, the datafy turns the Java Time objects into hash maps and then you can nav those like normal hash maps.
Yeah, this part of datafy/nav support is missing...
Been using it for an hour and a half on both Mac and Windows. Really liking how lightweight it is. Missing some of the fancier REBL stuff around Vars (realizing that I really rely on the multi-pane display that shows value, meta, and table view all at the same time... hahaha). I think my biggest complaint so far is if you tap>
a bunch of large values into Reveal, it seems hard to navigate via the keyboard down to the bottom of the last value.
Would it make sense for a promise
to be watchable?
I guess since it only ever gets one value, deref makes sense but watch does not. Fair enough.
Yeah, currently datafy/nav only works in the context of collections — because nav is defined in the terms of navigating to key in a collection. I need to figure out what to pass it when there is no collection...
Hmm yes, I'm not sure it can work from the table view... I'll have a look
You can deref it from the context menu, it shouldn't block reveal ui
I've updated my Atom/Chlorine setup to tap>
all evaluations if Cognitect's REBL is not on the classpath, so that it works nicely with Reveal. https://github.com/seancorfield/atom-chlorine-setup
Reveal doesn't do anything special with Vars or namespaces, whereas REBL extends datafy
to the Java types behind those and provides a way to navigate through usages/references.