Giter VIP home page Giter VIP logo

Comments (9)

aiekick avatar aiekick commented on June 8, 2024

you can use some regex filters.

and if you need to Display Makefiles and some particular other file extentions, you can mix than in a collection of filters. a collection can contain classic filter and regexs

btw maybe i can support a '' filter for the 'match all' use case in more than the '.' for easy use
but with regex you can fine tune what you want

it was made for files like "toto001", "toto002", "toto003" etc..

from imguifiledialog.

NothingSpecific avatar NothingSpecific commented on June 8, 2024

I was able to get it working with a ((.*)) regex. It's not perfect since the regex shows at the bottom (and it looks slightly weird), but at this point the issue is purely aesthetic.

from imguifiledialog.

aiekick avatar aiekick commented on June 8, 2024

What do you mean by show at bottom ?

You mean he not respect the alpha order ?

Do you have a screenshot for show why it's weird for you ?

from imguifiledialog.

NothingSpecific avatar NothingSpecific commented on June 8, 2024

screenshot

from imguifiledialog.

aiekick avatar aiekick commented on June 8, 2024

So what ? I only see directories here. No files. It's not related to what you said.

And if you want to explore use cases and customization of igfd you can check the demo app branch by for know how to display a name instead of the regex in the filter box

from imguifiledialog.

NothingSpecific avatar NothingSpecific commented on June 8, 2024

So you see the regex being shown at the bottom. That's what I'm referring to. It's not an issue I consider significant. I was planning on ignoring it until I have more relevant aspects of my project worked out.

I'm closing this issue since I'm satisfied with the files showing up at all.

I didn't know there was a way to show custom text instead of the RegEx. I'll look into that, thanks for the suggestion.

from imguifiledialog.

NothingSpecific avatar NothingSpecific commented on June 8, 2024

The reason it's only showing directories isn't because it's working wrong. I just have a lot of directories. If I scroll down far enough in my home directory I'll eventually come across hundreds of miscellaneous files, all of which ImGuiFileDialog is currently rendering perfectly.

from imguifiledialog.

aiekick avatar aiekick commented on June 8, 2024

I though you spoke about issue with filtering and display.

The only way and preferred way for show a title instead of a regex is to use a collection filter

from imguifiledialog.

NothingSpecific avatar NothingSpecific commented on June 8, 2024

I did say there was an issue with filtering and display. You suggested to use a RegEx filter, and that solved the problem.

from imguifiledialog.

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.