Comments (9)
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.
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.
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.
from imguifiledialog.
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.
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.
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.
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.
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)
- MSVC specific pragma directives HOT 10
- ImGuiFileDialogFlags_CaseInsensitiveExtention is broken?? HOT 3
- Show Symlinks HOT 7
- Please '#define IMGUI_DEFINE_MATH_OPERATORS' _BEFORE_ including imgui.h! HOT 2
- User providing absolute path to file dialog results in malformed path HOT 8
- How to configure OpenDialog for "saving as" ? HOT 1
- Android? HOT 1
- Improve Compile Times HOT 1
- Compile Errors and Warnings in v0.6.6 HOT 7
- Compilation warnings: missing override tag HOT 1
- Add a way for compute the size according to the file infos like ext, by ex for separate gltf for have the bin size
- Add way for display a custom tooltip of many fields for a particular file
- Q: How to select directory? HOT 1
- Potential memory leak? HOT 9
- Issue while scanning directories HOT 2
- add a way for have custom columns displayed and filled by a user provided file infos functions
- ScanDirectory with std::filesystem incomplete if an exception is raised HOT 3
- Assert used without including <cassert> header HOT 5
- Missing UTF8 Encode/Decode in std::filesystem ScanDirectory() ? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imguifiledialog.