kint-php / kint

Kint - Advanced PHP dumper
https://kint-php.github.io/kint/
MIT License
2.77k stars 291 forks source link

Show access path on double click #175

Closed jnvsor closed 7 years ago

jnvsor commented 8 years ago

This is a feature in a modified version of Krumo in Drupal's Devel module and I'm still surprised I don't see it anywhere else since it's so handy: Show the access path below the variable on double click

Mockup:

I've often fished values out of large opaque structures with this that would be a pain to do without it

raveren commented 8 years ago

Krumo

:D

ok, good idea, I'll toy with it, thanks

jnvsor commented 8 years ago

Wrote a quick 'n dirty proof-of-concept. Needs testing - you up for it?

(I was surprised when it worked for methods too hehe :P)

https://github.com/jnvsor/kint/commit/d0fe9c3437677773b814963095e4a4603221dacc

I'll work on cleaning it up in the meantime (Also need to find a place to actually put them - right now I'm just smacking them at the end of the line

jnvsor commented 7 years ago

Implemented in 2.x-dev. Please test and give feedback, thanks!