Giter Site home page Giter Site logo

Comments (2)

titusjan avatar titusjan commented on May 23, 2024

Thanks for the suggestion. At the moment I don't have much time to work on objbrowser but I'll keep it in mind if continue with it.

Furthermore I'm not sure search functionality is very useful, but perhaps you can explain more about your use case.

I can think of two different implementations:

  1. A 'traditional' search box that scrolls to the rows that match the text in the search box.
  2. A filter where only the rows that match the text in the filter are displayed. The other rows are hidden.

The first option might be useful to quickly jump to a row, but since the rows are already ordered alphabetically, it doesn't add much.

The second option may be handy for exploring. But it is more work to implement.

However the biggest draw back, for both options, is that it is only possible to search in the tree-rows that already have been expanded by the user. It cannot search through the entire tree because the tree has an infinite depth. Some nodes end up in a loop (e..g a=6; a.real.real.real. <etc>). This makes the search functionality confusing and less useful.

from objbrowser.

dizcza avatar dizcza commented on May 23, 2024

I meant the second option - filter while typing. Even though the list is sorted, you might want to look for methods/attributes that contain (not start with) keyword.
I was looking for smart inspectors in python and found only the objbrowser. Then I started my own project that does what I want. It's here https://github.com/dizcza/pinspect.
I'll make it graph-oriented so that it could deal with infinite depths and cycles.

from objbrowser.

Related Issues (4)

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.