question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Absolute paths to custom file icons don't work

See original GitHub issue

This 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:open
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
PKiefcommented, Dec 13, 2021

@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 😃

0reactions
kaleidawavecommented, Dec 16, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found