Why is the custom icon path unable to be part of the project's .vscode folder?
See original GitHub issue- I’m sure this issue is not a duplicate
I don’t like the “not a duplicate” check box because I’m not 100% sure it isn’t, but I’ve been browsing the issue tracker for a few hours now and didn’t find it.
The path for custom icons is different for each operating system, but is there a technical reason it can’t be told to map from a given folder relative to the project root?
I would think /.vscode/extensions/vscode-icons
would be pretty simple and clear. Is this a choice you made, or a limitation of Visual Studio Code?
The big reason I’d love to be able to do customization at the project level is for persisting it all with the project in the git repository.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
File and Folder Icons in VS Code!
Initially we were going to ship with a single, simple theme called Minimal, which has folder open/closed icons as well as a single...
Read more >Visual studio code doesn't open project folder. - Stack Overflow
The icons for these will be grayed out a bit. Use the context menu to add these to the project.
Read more >Advanced Visual Studio Code for Python Developers
The Material Theme looks best with a custom icon theme. ... ${workspaceFolder}, The path of the folder opened in VS Code ... VS...
Read more >Get started using VS Code with WSL - Microsoft Learn
Install VS Code and the WSL extension; Update your Linux distribution; Open a WSL project in Visual Studio Code; Extensions inside of VS...
Read more >Workspace Search in VS Code — A deep dive on find in files ...
This Code 0 to 20 looks at workspace search in VS Code. Workspace search lets you search through the contents of your workspace...
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
@ciel I can’t see any reasoning behind your suggestion to do icon customization at the project level and have them added to the VCS. Icons are associated to a file name or file extension and don’t change (with the exception of associating
Angular
specific namings). Is there any specific project structure file naming you have in mind?The path for custom icons is a decision made by the team. Having it at the
extension
folder isn’t feasible for two reasons.The standard practice is to put user data in the user folder that the OS provides. And as professional developers, we are obliged to follow the standards.
I hope I provided the answers you sought.
For now, if a team uses custom icons, they have to be manually imported into the proper folder and once the importation has been done, then apply the icons customization feature.
The idea is that you have already added to your repository the
workspace
configuration (see #934 - this should be solved) with all your custom configuration so all your team members will have these settings when working in the same project.This is cool, and the work of copying the custom icons to the folder specified in vsicons docs is a one time process. Hence, the only thing that lacks to complete your exact scenario is the ability to specify a custom
custom icons folder
, so your team mates don’t even have to copy the files manually.Maybe it’s not a bad idea to implement something like this, where a user’s defined custom icon folder can also be used alongside the default custom icon folder defined by our project. The user’s defined custom icon folder will have precedence over the default (the same that it’s happening now with workspace and user’s configurations).
In the case where the manifest is generated using this custom folder and then someone deletes the folder, the worst case scenario is having some errors in the dev console and showing the default file or folder icon.
Maybe another cool feature to think about would be to offer an option to import all these configurations to the user configuration and import the icons to our defined folder. I’m just thinking out loud but I think we should consider exploring these possibilities.