Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show path in inspector #212

Open
treydavis opened this issue Jun 19, 2019 · 3 comments
Open

Show path in inspector #212

treydavis opened this issue Jun 19, 2019 · 3 comments

Comments

@treydavis
Copy link

I'd like to be able to see the path I've taken while exploring a deeply-nested object with indium-inspector:

path.taken[3].through.a.deeply[0].nested.object

@NicolasPetton
Copy link
Owner

NicolasPetton commented Jun 19, 2019 via email

@NicolasPetton
Copy link
Owner

@treydavis Just so we're clear, you do not want a history of the navigation in the inspector, right?

@treydavis
Copy link
Author

Right, I was imagining a feature similar to what I've seen in cider-inspect-mode:
Screen Shot 2019-09-05 at 11 11 51 AM

In Cider, I found that the feature is implemented on the server-side in https://github.com/clojure-emacs/cider-nrepl. It keeps an "inspector" map with a :path key:

{:value nil, :stack [], :path [], :pages-stack [],
          :current-page 0, :rendered '()}

https://github.com/clojure-emacs/orchard/blob/master/src/orchard/inspect.clj#L65-L70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants