Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Ignore anything under a directory or in an ignore file #158

Closed
grepgrok opened this issue May 10, 2024 · 5 comments
Closed
Labels
Type: Duplicate This issue or pull request already exists

Comments

@grepgrok
Copy link

I would love to be able to tag my coding projects, unfortunately, these are often large with thousands of tiny, repetitive, uninteresting files. I would love for the library search to just ignore these.

This can be somewhat automated, for example, a anything listed in a .gitignore can probably be ignored. Likewise, a number of project structures have a default "backups ignore these files" signal which can probably be identified.

At the bare minimum, letting the user ignore batches of files would be great.

Also, it is important to note that, if you are ignoring a directory, there may be files IN that directory which the user may want to specify as to NOT ignore.

@grepgrok
Copy link
Author

See #74

@grepgrok
Copy link
Author

Wait, I'm a dingbat. Ignoring directories not tagging them (though they are perhaps related)

@grepgrok grepgrok reopened this May 10, 2024
@CyanVoxel
Copy link
Member

Wait, I'm a dingbat. Ignoring directories not tagging them (though they are perhaps related)

No worries! Although, I hate to be the one to say that this is a duplicate of #14...

@CyanVoxel CyanVoxel added the Type: Duplicate This issue or pull request already exists label May 10, 2024
@roboticforest
Copy link

roboticforest commented Dec 12, 2024

Also, it is important to note that, if you are ignoring a directory, there may be files IN that directory which the user may want to specify as to NOT ignore.

I added this in my own notes just today as I play around with and explore the program and was going to suggest it as a feature, so an important thing to cast my vote on.

The example I put in my notes was ignoring certain OS files by default, like all desktop.ini files, except if a user creates or customizes any themselves (like I have for my home folders) than they might want just those custom ones visible for tagging.

This could potentially be implemented as a simple exclusion list which contains folder & file extension entries, but if any item starts with some specific escape character, like say... a minus sign, than those are exceptions. Same could apply for an inclusion list too.

For example:
Say I'm working with a library made from my ~/Pictures/ directory

EXCLUDE
*.ini
*.bak
Some Project/
- /Wallpapers/desktop.ini

Here every .ini and .bak file, along with the directory Some Project/, but the custom desktop.ini within the Wallpapers/ directory is not ignored.

@CyanVoxel
Copy link
Member

Also, it is important to note that, if you are ignoring a directory, there may be files IN that directory which the user may want to specify as to NOT ignore.

I added this in my own notes just today as I play around with and explore the program and was going to suggest it as a feature, so an important thing to cast my vote on.

The example I put in my notes was ignoring certain OS files by default, like all desktop.ini files, except if a user creates or customizes any themselves (like I have for my home folders) than they might want just those custom ones visible for tagging.

This could potentially be implemented as a simple exclusion list which contains folder & file extension entries, but if any item starts with some specific escape character, like say... a minus sign, than those are exceptions. Same could apply for an inclusion list too.

For example: Say I'm working with a library made from my ~/Pictures/ directory

EXCLUDE
*.ini
*.bak
Some Project/
- /Wallpapers/desktop.ini

Here every .ini and .bak file, along with the directory Some Project/, but the custom desktop.ini within the Wallpapers/ directory is not ignored.

That feature is being tracked via #624 (formerly #14 which is now stale). I saw your comment over there as well, and your use cases should be able to be accomplished via a .gitignore style glob list mentioned there.

(also please do not comment on old closed issues, this one was closed as being a duplicate and commenting here only serves to unnecessarily notify people and fragment the discussion of present issues.)

@TagStudioDev TagStudioDev locked and limited conversation to collaborators Dec 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants