Skip to content

Program plugin - Limit search depth + suffixes for individual folders #188

@highend

Description

@highend

Is your feature request related to a problem? Please describe.

I'm getting too many results (from which I've normally only need one / a few specific ones)
E.g. from a main folder (that may contain a normal .exe which I would like to get listed) but which has subfolders that contain .bat files (which I don't want to be listed).

Describe the solution you'd like

I would like two additional features for this plugin.

  1. The ability to limit the search depth for an added folder (this must be a "per folder" setting)
    E.g.:
-1 = Recurse all subfolders
0 = No recursion at all, only files in the root are indexed
1, 2, ... = Additional hierarchy depth to index 
  1. A black- / whitelist of file suffixes for an added folder (this must be a "per folder" setting)
    On the blacklist you would enter those suffixes that should not be indexed (e.g. to exclude ones that are on the global file suffixes list)
    On the whitelist you would those that should be indexed (and are not a part of the global file suffixes list)

This would help to e.g. index .bat files in an added folder even if they are not on the global file suffixes list and helps to not index them globally...

Describe alternatives you've considered

I don't want to change the organization of the folder structure because for example (.bat) files belong to the application, e.g. because they are used to compile a launcher for it that makes it portable but only the main .exe needs to be indexed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions