-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Win/Linux: detect real casing of workspace paths #16570
Comments
@roblourens the workbench is using whatever path you give it, since Windows and OSX are case insensitive, lowercase paths are working. Detecting the correct case from a lowercase variant is very expensive and that is why we do not have code in place to do it, though we could add it. |
I see that I can do |
This happened again. No clue why, I'm not doing anything out of the ordinary. Where are the 'Open recent' paths stored? |
Mystery solved, it was hot exit |
In insiders, I had a workspace opening with a lowercase workspaceRoot path, so that file paths were reported as lowercased, and
${workspaceRoot}
in a launch config was replaced with a lowercase version which is how I noticed. I opened and closed vscode several times and it persisted. And it persisted through opening that folder again with the 'recently opened' list. I opened the folder again using cmd+o, and then it had the correct casing. I assume that the list of recently opened folders got the lowercased path somehow. Any idea how it could have happened? It's not reproing anymore unfortunately.I debugged it as far as the function
startup
in main.ts and saw that it was lowercased at that point.Should be uppercased
/Users
The text was updated successfully, but these errors were encountered: