Default File Icon Association Only Works for "file"
See original GitHub issue- I’m sure this issue is not a duplicate.
The vsicons.associations.fileDefault.file
setting only works with the "icon": "file"
. I’ve tried several different icons, with a variety of different formats (“svg”, “FileFormat.svg”, etc.) and everything other than file
does not work. I’ve attached two screenshots demonstrating the issue.
I apologize if this is a duplicate question or is covered in the wiki. I’ve been searching through the repository and have not yet found a solution. I’m not sure if the issue is a bug, or is just a syntax error.
Any help is greatly appreciated. Thank you in advance. 👍
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to change the icon associated with a particular file format ...
Assign the DefaultIcon Sub Key a default value of type REG_SZ that specifies the fully qualified path for the file that contains the...
Read more >How to Change the Icon for a File Type in Windows
Change the Default Icon For a File Type Using the Registry Editor. ... the file type associations, only the icon assigned to that...
Read more >How to Assign a Custom Icon to a File Type - Win32 apps
Step 2: Assign the DefaultIcon subkey a default value of type REG_SZ that specifies the fully qualified path for the file that contains...
Read more >Changing Default File Associations in Windows 10 and 11
In this article, we'll look at how to manage the default File Type Associations (FTA) on Windows 10/11 and Windows Server 2022/2019/2016.
Read more >How to Change File Associations in Windows 10 | Digital Trends
1. Right-click on a file of the type you wish to change the association for. 2. Select Open With from the resulting menu....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@McPrescott The
default file
customization doesn’t support theoverrides
andextends
functionality like the other icons do. Maybe this is a good opportunity to add them to it. In order to achieve what you want, you need to set up avsicons-custom-icons
folder and put theshell
icon in there, as described in Custom Icons. Unfortunately, we only just a few days ago added the ability to set thevsicons-custom-icons
folder path to a relative path to the project, using thevsicons.customIconFolderPath
setting. So it’s not available yet. Now, it only works with providing an absolute path and this may not suit you.I’m gonna leave this open until we release the new version. Hopefully, we may have added the above-mentioned functionality, for the
default file
too.I looked into adding
extends
functionality to thedefault
files and folders but unfortunately, this is more complex than it looks and I’m afraid that it may destabilize the extension. Still, though the way to achieve what the OP wants is to create thevsicons-custom-icons
folder as described in Custom Icons and copy inside it the preferred icon and name it accordingly (i.e.default_<value_of_icon_property>.<icon_file_extension>
).