kint-php / kint

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

feature request: add keyboard shortcut to expand all nodes #40

Closed taat closed 7 years ago

taat commented 11 years ago

Keyboard shortcut to expand all of the nodes would by highly appreciated. (eg. "f" to expand the nodes and start keyboard navigation, "j" to expand first node and start keyboard navigation)

BTW, there's no direct link to github project on the project home page suggested by google: http://raveren.github.com/kint/

brunowego commented 9 years ago

+1

raveren commented 9 years ago

@brunowego : are you aware there's keyboard shortcuts at all? You press d and then navigate the tree as usual (you must use the wip branch though https://github.com/raveren/kint/tree/1.0.0-wip) - and also if you append a ! like this: !dd($GLOBALS); the output will be expanded by default.

In the years I've been using Kint I've never missed the requested shortcut yet. Still, I might get to implementing it at some point...

jnvsor commented 7 years ago

I also find keyboard navigation more than sufficient. In the rare case where you actually want to expand all nodes taking the time to tripleclick the [+] is probably a good idea anyway, since this could easily freeze your browser if you've been dumping tons of stuff.