Grid Sage Forums

Grid Sage Forums

  • November 23, 2024, 03:15:13 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

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

lord

  • Derelict
  • **
  • Weekly Seed Participant
  • Posts: 21
    • 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: 4477
    • 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 | Patreon

lord

  • Derelict
  • **
  • Weekly Seed Participant
  • Posts: 21
    • 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: 4477
    • 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. (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
« Last Edit: June 19, 2018, 06:57:18 PM by Kyzrati »
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

lord

  • Derelict
  • **
  • Weekly Seed Participant
  • Posts: 21
    • 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