vscode-icons-js icon indicating copy to clipboard operation
vscode-icons-js copied to clipboard

getIconForFile case sensitive

Open justin-coberly opened this issue 5 years ago • 1 comments

When parsing languages like R where the extension is typically uppercase .R instead of .r, getIconForFile() returns a default icon rather than the correct R icon.

This pattern continues for .SVG, .TXT, etc.

Is it reasonable to lowercase the filepath / extension passed in to limit case sensitivity issues?

justin-coberly avatar Aug 14 '20 18:08 justin-coberly

Hi,

thank you for reporting it. Will fix it in next release :)

dderevjanik avatar Aug 25 '20 14:08 dderevjanik