Material Icon 主题未在我的 VS Code 中呈现某些文件夹图标。
你能解释一下如何解决这个问题吗?
材质图标主题支持此文件夹图标,但在我的情况下不渲染。
我的settings.json看起来一切都很好。
文档中的屏幕截图可能有点误导。通过查看源代码和设置,我对它实际工作原理的理解是,要获得这些图标,您需要将图标包设置更改为
"react_redux"
(默认值为"angular"
),您可以这样做将 "material-icon-theme.activeIconPack": "react_redux"
放入您的 settings.json 中。然后该文件夹实际上不应该命名为“Redux-store”,而是“store”或“stores”,而不是“Redux-reducer”,而是“reducer”或“reducers”,而不是“ Redux-selector”,而是 “选择器”或“选择器”。
在 Mac 上,您可以转到 Code > Settings > Theme > File Icon Theme。这为我解决了这个问题。