-
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
vscode.workspace.findFiles() case insensitive on Windows ? #17851
Comments
The C++ debugger extension also is hitting the same problem when the user opens a file via the Explorer in one case and it opens a duplicate file with a 2nd casing on Windows (they say it's VS Code's fault). Please fix VS code so that it understands that Windows is case insensitive for files so it doesn't open 2 of the same ones, which causes things like breakpoints and bookmarks to be attached to only one of the files, which is confusing. |
@sean-mcmanus I think that issue would be covered by #12448 |
@chrmarti Are you looking at this for January or should I take a look? Making it a case-insensitive search seems like the right thing to do. |
I'm unlikely to get to this for this milestone. If you get a chance to look into this, could you check if all usages of glob.ts need to be case-insensitive on Windows? It might make sense to have it as an option that is passed in to glob.ts depending on that. |
Related: #10633 |
This would be handled with #10633 |
vscode.workspace.findFiles should be case insensitive on windows ?
Writing in the extension:
how can I find
Sample.ini
,SAMPLE.ini
orSamPLe.iNi
?In fact in windows environment it is the same file...
The text was updated successfully, but these errors were encountered: