Codespaces browser folder icons differ from VS Code Desktop #204210
Replies: 2 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
This is almost certainly caused by how VS Code for the Web handles virtual filesystems (VFS) and web extension storage differently from the desktop Node.js runtime. When you configure custom In browser-based Codespaces (
Until VS Code for Web provides an API for dynamic icon theme registration, the standard workaround is opening the Codespace in VS Code Desktop ( |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
[Codespaces Stable] Folder icon associations are ignored in the web editor but work in VS Code Desktop
Existing extension-side report
This is intended as a VS Code/GitHub Codespaces cross-report, not as a new Material Icon Theme issue.
The extension-side bug is already tracked here:
material-extensions/vscode-material-icon-theme#3521That report contains additional debugging evidence and should be linked so the VS Code/Codespaces and extension maintainers can investigate the behaviour from both sides.
Description
Custom folder associations configured for the Material Icon Theme extension work in VS Code Desktop but are not applied in GitHub Codespaces using the Stable VS Code channel.
The Material Icon Theme itself is active in Codespaces, and its other icons render. However, folders covered by
material-icon-theme.folders.associationscontinue to use their default folder icons.For example:
These associations display the expected folder icons in VS Code Desktop but not in GitHub Codespaces Stable.
Steps to reproduce
Install and enable
PKief.material-icon-theme.Select Material Icon Theme as the active file icon theme.
Add custom folder associations to
settings.json:Open a workspace containing folders named
career,learning, andprojectsin VS Code Desktop.Confirm that the configured folder icons are displayed.
Open the same repository in a browser-based GitHub Codespace using the Stable channel.
Confirm that Material Icon Theme is installed, enabled, and selected.
Reload the Codespaces window.
Observe that the configured folder associations are not applied.
Expected behaviour
GitHub Codespaces Stable should apply
material-icon-theme.folders.associationsconsistently with VS Code Desktop.The folders should display the configured
docs,lib, andprojecticons.Actual behaviour
The folder association settings are present, but the folders retain their default icons in GitHub Codespaces Stable.
Other Material Icon Theme icons render. Re-selecting the icon theme and reloading the Codespaces window does not apply the folder associations.
Environment
PKief.material-icon-theme)Request
Please investigate whether the Codespaces/web extension host is retaining or failing to invalidate a stale generated icon-theme manifest after folder-association settings change.
The related extension-side issue reports evidence consistent with persisted web cache or manifest invalidation behaviour. A coordinated investigation with the Material Icon Theme maintainers would help determine whether the correction belongs in VS Code for the Web, the Codespaces integration, the extension, or both.
All reactions