material-extensions / vscode-material-icon-theme

Available on the VSCode Marketplace
https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme
MIT License
2.04k stars 628 forks source link

[Feature request]: Wish it could remove a default setting for a specific file extension or program language #2612

Open PythonYunfei opened 2 hours ago

PythonYunfei commented 2 hours ago

Currently, it conflicts with the extension AutoHotkey v2 Language Support. image The extension of the picture can automatically distinguish the syntax for the same extension file *.ahk, and then apply a dedicated icon for AutoHotkeyV2 while another icon for AutoHotkeyV1 which is the old icon for old Autohotkey.

But with Material Icon Theme installed, all above will not work, but apply its own icon to all of the **.ahk instead.

I came up with a very simple and effective idea:
Just add an option or setting to remove its own default icon setting for .ahk. It's perhaps like that: image

I think this feature is very necessary, not only for AutoHotkey but also for any other language whose icon has got controled with its dedicated language extension. This feature could avoid Material Icon Theme interfering other extensions.

mallowigi commented 2 hours ago

or just false.

PKief commented 2 hours ago

It's a valid request. The logic of the extension already covers this by having a "disabled" flag at the icon associations but it's not exposed yet so that it can be adjusted via settings. I think we can enhance the settings at this point to make that possible.