Code Monkey home page Code Monkey logo

Comments (5)

leeoniya avatar leeoniya commented on September 28, 2024

it wouldn't be hard to add. in fact, a way to expand/collapse only a single level of all children of a specific node would be really helpful too. the hard part is how to make a clean, obvious interface for it.

from dump_r.php.

leeoniya avatar leeoniya commented on September 28, 2024

on the other hand it doesnt need to be obvious, just documented. maybe shift+click and ctrl+click

from dump_r.php.

leeoniya avatar leeoniya commented on September 28, 2024

this should give you much more flexibility than just expand/collapse all. if you have an array of objects and those objects have a bunch of expandable properties but you're only interested in the top level ones, you can do ctrl+click on the first array item and have all array items expand to 1 level at the same time. if you do ctrl+shift+click, it will expand all array items to full depth.

from dump_r.php.

howdu avatar howdu commented on September 28, 2024

Excellent thank you very much.

from dump_r.php.

leeoniya avatar leeoniya commented on September 28, 2024

thanks for the feedback. i think i still prefer my version cause there's less "stuff" there. the tree lines may look cool but are not actually very helpful. if you scroll the parent out of view and you have no siblings to reference, those lines dont help you at all, no one counts them. i think it's easy enough to determine where you are. the same thing for the key-wrapping. it's obvious they're keys and while the wrapping may make a bit faster to search for them in some cases, i prefer it to be clean and just hit "find next" or F3 a couple times. the expanded spacing is probably preferable for most people, but i like it more compact.

it's pretty painless to change through, so glad you like it. FYI, you can actually do the key-wrapping with CSS too, using generated content. http://dev.opera.com/articles/view/css-generated-content-techniques/

from dump_r.php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.