Skip to content

Case-sensitivity and file system providers #48258

@jrieken

Description

@jrieken

Today we seems to have hardcoded logic to know when paths should be compared case-sensitive or not, e.g. callers of isEqualOrParent or isEqual 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

Metadata

Metadata

Assignees

Labels

remoteRemote system operations issuesunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions