-
-
Notifications
You must be signed in to change notification settings - Fork 924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project detection not working on WSL windows #2415
Comments
This requires investigation something that I can't do atm. If I had to guess I would say that this behavior is occurring because |
Come to think of it |
It may have something to do with #2199 |
So I found some time to look into this. Things are exactly as I suspected. Both Now if you go to your settings ( "remote.extensionKind": {
"vscode-icons-team.vscode-icons": ["workspace"]
} by reloading From there on, experiment further. Hope this helps. |
That workaround works perfectly! Is this something that you could eventually work into the extension itself to avoid having to do this on each machine? |
We are still contemplating on it. |
@JimiC I have made this and I could make the installation successful in WSL, but somehow, the extension is appending
I'm suspecting this is why my custom icons aren't loading |
VS Code instances running on WSL do not seem to auto detect project or workspace settings, this means that opening a project on Windows will set a preset and later on, any project that i open from WSL will be using that preset, the only way to change it is setting up another preset on a Windows project. Icon presets seem to work really well on a single window, but with multiple vscode windows, they just mix and act weirdly, i made a comment in here about presets mixing between to vscode windows tho that is under another discussion, i made searches about WSL and auto detection and couldn't find anything so i hope this is not an isolated issue, but it would be nice to at least be working on a single WSL project at a time (due to the preset mix) and get auto detection.
In this example i'm opening two workspaces that switch between angular and nestjs preset, both projects are brand new created with @angular/cli and @nestjs/cli
Also on that demo i didn't try to se this
"vsicons.projectDetection.autoReload": true
on the WSL instances but later on i did and the result was the same, nest project stayed with angular preset even after deleting settings.json(workspace) reloading windows, creating a new settings.json(workspace) and setting"vsicons.presets.nestjs": true
in it.The text was updated successfully, but these errors were encountered: