-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Unexpected changes to in-memory file paths parsing #134304
Comments
What problem does this cause? |
|
Thanks for the details Yes I recommend changing it on the plugin side. These paths are used internally by TS Server, so they don't follow |
@mjbvz Why was the old |
The change gets TS to see in-memory files as part of the same project, instead of treating them as individual units |
Working on this, I noticed something curious, perhaps a bug:
The result seems to be that the regexp will turn:
You can see that the Is this disparity expected? It's unclear whether the expected format is a single slash between |
I'm closing this as we don't plan on taking any action on the VS Code side (and as noted, these paths are an internal implementation details) Will still take a PR if someone submits a reasonable one |
Issue Type: Bug
The in-memory file path parsing changes introduced in 8731be5 causes file paths that would have been parsed successfully by
vscode.Uri.parse
to no longer match. The Uri is now required to start with a slash and use a slash to seperate the schema from the path which is unexpected and seems like a bugVS Code version: Code - Insiders 1.61.0-insider (c9e8266, 2021-10-01T14:45:54.159Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No
The text was updated successfully, but these errors were encountered: