I’ve never been a fan of seeing a unique icon for each distinct file type in a code editor’s file browser; it feels distracting, cluttered, and (usually) necessarily means breaking the bounds of an otherwise consistent design language to accommodate the large number of common file types a user might edit.
I’ve personally been content with using just a binary pair of distinguishing plain folder v. file icons in the past. Though I do like the benefit of slight variations on those two base icons for certain things (e.g. md/txt/img file variants or src/dist/build/assets/etc. folder variants ).
While exposing complete control over this to users can be chaotic and have other dev pitfalls, i think a nice feature request would be to allow users to swap one built-in icon with any other built-in icon for certain file type(s)… in a similar way that it’s currently possible to match custom file types to a default syntax.
Perhaps this feature could be extended further with an extension/theme api to allow adding non-built-in, custom icons to the selection of choices when matching to certain file types.