JeremyFunk / hidefiles

A GitHub extension that allows to create custom profiles for file hiding
MIT License
7 stars 0 forks source link

Updated readme, new response to user on error, should work on macos a… #5

Closed JeremyFunk closed 3 years ago

JeremyFunk commented 3 years ago

…nd linux

feedyourmind commented 3 years ago

README.md is much improved now. I would add some glob patterns in the example though, to make it obvious to potential users, that they can do deep powerful selections. It's really amazing, how i can now switch between complex exclusion patterns so effortlessly.

i.e. part of my profiles setup looks like this:

{
    "profiles": [
        {
            "name": "proj1",
            "detail": "base",
            "hidden": [
                "$base",
                "**/proj1/**",
                "**/ionic",
                "**/xplat/web/**"
            ]
        },
...
...
        {
            "name": "base",
            "detail": "base",
            "hidden": [
                "tools/**",
                "apps/*/*/functions/lib/**",
                "**/jest.config.js",
                "**/.gitignore",
                "angular.json",
                "firebase*.json",
                "flower*.json",
                 "package-lock.json",
                "nx.json",
                ".editorconfig",
                ".firebaserc",
                "tmp/**",
                "README.md",
                "*.js",
                ".pret*",
                "*.log",
                "**/tslint.json",
                "**/tsconfig.json",
                "**/tsconfig.app.json",
                "**/tsconfig.spec.json",
                "**/tsconfig.base.json",
                "jest.config.js",
                "jest.preset.js",
                "**/node_modules/**",
                ".vscode/**",
                ".storybook/**",
                ".github/**",
                "**/dist/**",
                ".firebase/**"
            ]
        }
    ]
}

Also, one idea for an improvement would be to order the profiles, by most recently used (although it's not a big deal, as it's trivial to change the order by editing the array at any point).