Absolute paths to custom file icons don't work
See original GitHub issueThis issue was originally mentioned in #984, however I felt it deserves a separate issue.
Specifying absolute paths to file icons, even inside the .vscode/extensions folder does not work. For example, even though the two paths below point to the same file, the first one works while the second one does not.
"material-icon-theme.files.associations": {
"*.pyx": "../../icons/cython", // WORKS
"*.pyx": "C:/Users/[username]/.vscode/extensions/icons/cython" // DOESN'T WORK
}
While this issue does not personally affect me, I’m primarily adding it for the sake of documentation. If this is intended behavior, it should be noted.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
absolute paths don't work for my leaflet custom icons
I logged what the URL ends up like: "icon name is: file:///C:\django\website\media\images\offer_icons\46\foxes.jpg" Everything in the path is ...
Read more >Absolute path not working in some files - Stack Overflow
I'm building a website and I'm using Font Awesome. The home page of the site is located in the root (/); a page...
Read more >Issues - GitHub
Custom icons not working outside of .vscode/ folder #984 ... I also found out that specifying absolute paths, even to files in the ......
Read more >Can't change folder icons in Windows 10 - Microsoft Community
2) Now go to customize tab and click on change icon and check if you are able to. Sfc /scannow will inspect all...
Read more >FIXED: Desktop Icons Not Showing Properly In Win 8,8.1,10
Are you frustrated that your desktop icons not showing properly? ... the shortcut icons get replaced by generic file icon by Windows.
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 Free
Top 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

@kaleidawave currently I’m not sure about it, absolute paths would be much better, I know. It would be amazing if you could have a look at it 😃
Excellent! Thanks for highlighting the current implementation and its constraints. When I get around to it I will have a look at replacing the string interpolation with some kind of path manipulation and that should allow for absolute icon paths.