-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Case-sensitivity and file system providers #48258
Comments
I guess we would need some service that can compare resources which has all the knowledge of the capabilities of the file system. Possible inputs to this service are the capabilities of the remote file system, and then for |
Introducing such a service makes sense but could it also be a part of the |
👍 for adding this to the FileService, it is somewhat similar to |
We can start adding it there. The challenge will be to get access to this service from all places where we need to compare |
Assigning to May so we investigate next milestone. |
Well, not supported as they are inequal by definition. So, compare |
We were focused on grid this milestone, next week I am on vacation, this is not for endgame -> June |
I plan to start investigating into this tomorrow by:
|
Maybe a more portable |
Did not have time this milestone -> July |
Does not seem like this will happen in the last couple days of the milestone (risky) -> september |
I have pushed the changes in the Explorer such that the Explorer will now respect the FileSystemProvider case sensitive capability. Explorer also reacts on the change of this capability. |
Today we seems to have hardcoded logic to know when paths should be compared case-sensitive or not, e.g. callers of
isEqualOrParent
orisEqual
and likely many more...With b0ede6c I have added a file system provider flag/capability to signal that it is case-sensitive (default is case-insensitive). We need to come up with a strategy to communicate that information to consumers, e.g. the explorer or file events so that we do the correct thing.
A sample of failure is part of the memos-sample which creates to files that only differ in casing: https://github.com/Microsoft/vscode-extension-samples/blob/58ea8617190ee5566e001b9875b8b2c25a983857/fsprovider-sample/src/extension.ts#L30
The text was updated successfully, but these errors were encountered: