Closed programmende closed 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?
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
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.
Ok i understand. Is it possible to assign an icon for "bloc" folder like other folders for sample "bin", "controller", "extensions", "mapping"... folders?
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
Merci, it works. Many thanks. Have a nice day ;-)
I'm glad that it works :) Have a nice day, too!
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
Thanks 😁
Please add an icon for BLoC pattern folders.
If possible, for "bloc" and for "*_bloc" folders for example "counter_bloc".
LG Chris