Grid Sage Forums

Grid Sage Forums

  • May 28, 2017, 12:37:56 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search

News:

Grid Sage Wiki Now Open

Author Topic: [feature request] hide some dirs in file browser  (Read 246 times)

lord

  • Unaware
  • *
  • Weekly Seed Participant
  • Posts: 18
    • View Profile
[feature request] hide some dirs in file browser
« 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:

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

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 2359
    • View Profile
    • Cogmind
Re: [feature request] hide some dirs in file browser
« Reply #1 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!
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames

lord

  • Unaware
  • *
  • Weekly Seed Participant
  • Posts: 18
    • View Profile
Re: [feature request] hide some dirs in file browser
« Reply #2 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^)┘
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 2359
    • View Profile
    • Cogmind
Re: [feature request] hide some dirs in file browser
« Reply #3 on: August 29, 2016, 06:44:35 AM »

Aaaand done!

Just extract the new .exe from this archive and overwrite the one in your current REXPaint 1.03.

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
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames

lord

  • Unaware
  • *
  • Weekly Seed Participant
  • Posts: 18
    • View Profile
Re: [feature request] hide some dirs in file browser
« Reply #4 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!
Logged