Grid Sage Forums

REXPaint => Everything REXPaint => Topic started by: lord on August 29, 2016, 05:52:31 AM

Title: [feature request] hide some dirs in file browser
Post by: lord on August 29, 2016, 05:52:31 AM
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:
(https://i.imgur.com/GLZdCC3.png)
PS: of course, when you awake to have inspiration and free time :)
Title: Re: [feature request] hide some dirs in file browser
Post by: Kyzrati on August 29, 2016, 05:59:11 AM
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!
Title: Re: [feature request] hide some dirs in file browser
Post by: lord on August 29, 2016, 06:09:35 AM
>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^)┘
Title: Re: [feature request] hide some dirs in file browser
Post by: Kyzrati on August 29, 2016, 06:44:35 AM
Aaaand done!

Just extract the new .exe from this archive (http://www.gridsagegames.com/blogs/fileDownload.php?fileName=REXPaint-dir_exclusion_exe.zip) 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:
Code: [Select]
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
Title: Re: [feature request] hide some dirs in file browser
Post by: lord on August 29, 2016, 07:16:45 AM
You are the leader of secret clan of the ninjia-magicians! :D
Works great. Thank you so much!