Allow Icon Themes to Define File Extensions and Context-Sensitive Icons #24204
RedEagle-dh
started this conversation in
Extensions and Themes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current Behavior
Right now, file icons in Zed are mapped internally using the grammar field in language config .toml files. This means that:
Requested Feature
Modify the icon theme system so that icon themes themselves can define the mapping between file extensions and icons, instead of relying on internal language grammars.
Benefits
Proposed Implementation
This change would give theme creators much more flexibility and bring Zed in line with other editors’ icon customization capabilities.
Alternative Approaches
If modifying the current system is not feasible, an alternative could be to allow icon theme extensions to override the internal mapping from grammar-based icons.
Beta Was this translation helpful? Give feedback.
All reactions