Allow specifying more specific icon theme associations #24022
uncenter
started this conversation in
Extensions and Themes
Replies: 1 comment
-
Reference: https://code.visualstudio.com/api/extension-guides/file-icon-theme#file-association |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
VSCode gives icon theme developers the ability to set icons for files through keys like
fileExtensions
,fileNames
,folderNames
, as well as what Zed already offers inlanguageIds
for file types. With Zed, only being able to set icons based on file type means for a file likeflake.lock
- which is recognized as JSON but also set as thelock
"file type" based on its extension, matched via this hard coded suffix list: https://github.com/zed-industries/zed/blob/main/assets/icons/file_icons/file_types.json - it is not possible for me to setflake.lock
to use a different icon (nix-lock) than other "lock" files (e.g. bun.lock, which would be bun-lock).Beta Was this translation helpful? Give feedback.
All reactions