material-extensions / vscode-material-icon-theme

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

Icons hierarchy/paths problems #837

Closed gusbemacbe closed 3 years ago

gusbemacbe commented 3 years ago

Hello,

Firstly my project is not a workspace. I applied in the user settings and not in the workspace settings.

In my project called suru-plus-folders, there is a symlinked folder sito-hugo which is symlinked to themes/hugo/suru-plus-folders-site. See the tree:

suru-plus-folders
├── site-hugo -> themes/hugo/suru-plus-folders-site
└── themes
     └── hugo
         └── suru-plus-folders-site

I open the subfolder site-hugo or themes/hugo/suru-plus-folders-site directly with code-insiders --extensions-dir='$HOME/.vscode-insiders/workspaces/html+markdowm+hugo'. Result:

image

If I open the same sub-folder with the regular VSCode without the command --extensions-dir, it is all OK:

image

But I can not use the normal VSCode because of a lot of extensions. I have to optimise some extensions designed only for Hugo.

Let me give another info:

Although my project is not a workspace, the material-icon-theme* commands work in the .vscode/settings.json, because they are recognised by the own VSCode, but have no effect. I know your extension does not support it as I saw other issues.

gusbemacbe commented 3 years ago

I found the solution. I just put the icons in your extension folder instead of .vscode[-insiders]/icons:

image

I know it is a bad idea, because your extension will be updated.

PKief commented 3 years ago

Sorry for the late response, but good to hear that you could solve your issue on your own ;) Will close this issue then.