EmmanuelBeziat / vscode-great-icons

🆚 A big pack of icons (200+) for your files
https://marketplace.visualstudio.com/items?itemName=emmanuelbeziat.vscode-great-icons
MIT License
163 stars 57 forks source link

How do I use custom folder associations? #300

Open theorib opened 3 months ago

theorib commented 3 months ago

Hi there, I was wondering how I can use custom folder associations with these icons. They are gorgeous btw and I really love their size!

I did quite a lot of searching and tried different few things without success, for example adding to my settings.json:

    "workbench.iconTheme": "vscode-great-icons",
    "files.associations": {
        "lib": "_fd_app",
    },

Any guidance would be greatly appreciated.

EmmanuelBeziat commented 3 months ago

Hello @theorib

I don't have much info on this either, I can't find any resource talking about an equivalent for files.associations but with folders. files.association only works with file extensions, so it won't do the trick…

I think you could open a ticket at microsoft/vscode repo, so they consider adding something like folders.association for settings.json. But that might take a bit of time…

You can suggest me new folders to add icons for if needed, I'll see if I can add it into the icon set :)

theorib commented 3 months ago

Hi @EmmanuelBeziat thanks a lot for the very swift response. I'm mostly developing React and Next.js projects. There are quite a few folders that are very common when developing on those environments. I guess a lot of people would be quite happy if they had relevant custom icons.

Most Next.js projects have the following folders that currently do not have custom icons:

I would be super happy to look up and suggest different icons if you would be up for it.

I'm attaching a few screenshots of a couple of icon libraries when looking at the same folders.

Let me know what you think and I'd be happy to contribute.

VSCode Icons: Screenshot 2024-07-26 at 17 00 38

Icons by Mhammed Talhaouy: Screenshot 2024-07-26 at 17 00 22

theorib commented 3 months ago

I can also try my way around and open this as a PR as I appreciate that's quite a bit of work. I may need a tiny bit of guidance from you on how to make it work locally from my forked repo but I may be able to find that out for myself :)

EmmanuelBeziat commented 3 months ago

I think I already have a few folder icons that might work if I just extension their range to match these names. I'll try to add some missing too, I'll let you know :)

theorib commented 3 months ago

I think I already have a few folder icons that might work if I just extension their range to match these names. I'll try to add some missing too, I'll let you know :)

Sounds brilliant! Thanks a lot!

EmmanuelBeziat commented 2 months ago

Hi @theorib check out the last version, I've added a few. I'm keeping this issue opened to add some more.

theorib commented 2 months ago

Hey @EmmanuelBeziat thanks for the update! I like the direction you took and some of the new icons! Specially like the styles, src and utils icons and I don't mind the idea of repeating icons with a different colour folder such as utils and services unless there's a better unique icon for each of them. I suppose using the same icon for data as in db makes sense and I've seen it before :) Thanks and look forward to seeing more of these!