material-extensions / vscode-material-icon-theme

Available on the VSCode Marketplace
https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme
MIT License
2.06k stars 631 forks source link

[Icon request] for BLoC folder (BLoC pattern) #431

Closed programmende closed 5 years ago

programmende commented 5 years ago

Please add an icon for BLoC pattern folders.

If possible, for "bloc" and for "*_bloc" folders for example "counter_bloc".

LG Chris

PKief commented 5 years ago

Hi @programmende, I was wondering how I can design this kind of folder icon? I've never heard of BLoC, can you maybe post a link or an image? What kind of files do you usually place inside of this folder?

programmende commented 5 years ago

Hi @PKief, i think, there is no standard icon for the BloC pattern. Its a programming technique. I think it comes from the dart/flutter/reactive programming world but it exists an many other programming languages too.

In my case, it contains .dart files.

Here a few samples of logos that were used by others:

https://pub.dartlang.org/packages/bloc https://pub.dartlang.org/packages/flutter_bloc

PKief commented 5 years ago

Thanks, I got it. However, I don't think it makes much sense to create a special folder icon for it. Especially since glob patterns like "*_bloc" are currently not possible to assign icons.

programmende commented 5 years ago

Ok i understand. Is it possible to assign an icon for "bloc" folder like other folders for sample "bin", "controller", "extensions", "mapping"... folders?

PKief commented 5 years ago

Sure, you can pick any of the provided folder icons and assign it to the folder name in your user settings:

"material-icon-theme.folders.associations": {
    "bloc": "controller"
}

All possible folder icons are provided in this overview: https://raw.githubusercontent.com/PKief/vscode-material-icon-theme/master/images/folderIcons.png

programmende commented 5 years ago

Merci, it works. Many thanks. Have a nice day ;-)

PKief commented 5 years ago

I'm glad that it works :) Have a nice day, too!

galki commented 5 years ago

Another idea is creating a generic state icon and using it for bloc and other state management libs.

FYI about bloc: https://felangel.github.io/bloc

md-siam commented 2 years ago

Thanks 😁