Main Menu

[feature request] hide some dirs in file browser

Started by lord, August 29, 2016, 05:52:31 AM

Previous topic - Next topic

lord

Hello.
I want to ask to add a feature for ignoring (an opportunity to exclude from the list) some files or directories in the file browser.
Or an opportunity to collapse "empty" subdirectories.
I use git for operation with an art, and in case of a huge changelog - git directory takes a lot of place in the file browser.
Simple example with a young repository:

PS: of course, when you awake to have inspiration and free time :)

Kyzrati

So you want to exclude them completely from loading at all, yeah? That shouldn't be too hard to add, sure. While directories can be collapsed, it doesn't extend to collapsing their subdirectories, so I can see how that would be annoying in your situation.

I'll get you a quick update for this soon!
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

lord

>So you want to exclude them completely from loading at all, yeah?
Yes, that would be awesome.

>I'll get you a quick update for this soon!
Thank you very much! └( ^o^)┘

Kyzrati

#3
Aaaand done!

Just extract the new .exe from this archive and overwrite the one in your current REXPaint 1.03. (Edit: Feature now included with v1.04)

Add this to the end of your .cfg file:
ignorePath=".git"
(Opening and closing RP will also automatically create the appropriate fields for you, and you can fill in the specific paths you'd like to ignore.) You can ignore as many paths as you want by adding additional lines after that, but a single ignore command will ignore all subdirs as well. Tested and working as expected.

This will of course be included in 1.04, but I'm not ready to do a proper release yet. Just a quick new feature :D
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

lord

You are the leader of secret clan of the ninjia-magicians! :D
Works great. Thank you so much!