如何获取 VS Code Material Icon 主题扩展的文件夹图标?

问题描述 投票:0回答:2

Material Icon 主题未在我的 VS Code 中呈现某些文件夹图标。

你能解释一下如何解决这个问题吗?

enter image description here

材质图标主题支持此文件夹图标,但在我的情况下不渲染。

enter image description here

我的settings.json看起来一切都很好。

enter image description here

visual-studio-code
2个回答
0
投票

文档中的屏幕截图可能有点误导。通过查看源代码和设置,我对它实际工作原理的理解是,要获得这些图标,您需要将图标包设置更改为

"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

0
投票
Material Icon Theme

。这为我解决了这个问题。

© www.soinside.com 2019 - 2024. All rights reserved.