Skip to content
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

File not showing up with same name but different case #1482

Closed
zzh1996 opened this issue Sep 25, 2019 · 8 comments
Closed

File not showing up with same name but different case #1482

zzh1996 opened this issue Sep 25, 2019 · 8 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug file-explorer verified Verification succeeded
Milestone

Comments

@zzh1996
Copy link

zzh1996 commented Sep 25, 2019

  • VSCode Version: 1.38.1
  • Local OS Version: Windows 10 1903
  • Remote OS Version: Ubuntu 19.04
  • Remote Extension/Connection Type: SSH

Steps to Reproduce:

  1. Open a remote folder.
  2. On the remote machine, run touch a and touch A in the project folder.
  3. Only the first one will show up in vscode file explorer. Same for one file and one folder, and two folders.

Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No

@foreignmeloman
Copy link

I can confirm this. Same version, same issue.

When I ls the files in terminal you can see 2 of them: makefile and Makefile, but in the tree only the makefile is visible.

ssh_tree_bug

@isidorn
Copy link

isidorn commented Sep 30, 2019

I believe we always had this issue. Let me know if this was working in previous versions, and if yes please specify which.

Same name different case has issues across the workbench, not sure if this is explorer specific @bpasero fyi

@isidorn isidorn added the under-discussion Issue is under discussion for relevance, priority, approach label Sep 30, 2019
@bpasero
Copy link
Member

bpasero commented Sep 30, 2019

🤷‍♂️

@zzh1996
Copy link
Author

zzh1996 commented Sep 30, 2019

I thought it is a very special case to have files with the same name but different case, but in fact it is not so rare.

If you have a folder called Program and a file called program inside it, and you want to move the file outside the folder in vscode, you will end up finding the file disappeared

@vicenteherrera
Copy link

I have same issue with folder name, where it is important.
Executing a composer install on a Laravel project, some libraries where originally registered with lowercase vendor name, and some other with uppercase.
Right now all the libraries in the uppercase vendor folder are invisible for us. It is not just one file missing, is a whole set of libraries.

Workaround is use the "add folder to workspace" menu option, and there you can see and correctly select the uppercase folder name to be added in the root of the workspace. At least that way we can see them.

@vallamost
Copy link

vallamost commented Nov 27, 2019

Windows 10 supports case sensitivity per directory [1], I believe Visual Studio Code and Remote SSH should default to a case sensitive workspace on Windows 10 whenever possible. I just got bit by this in a deployment. To make matters worse, I can't rename 'gamma' to 'Gamma' if the 'Gamma' folder already exists but is not shown inside of Visual Studio Code:
2019-11-27 11_12_59-Hyper

[1] https://devblogs.microsoft.com/commandline/per-directory-case-sensitivity-and-wsl/

@isidorn
Copy link

isidorn commented Dec 17, 2019

Should be fixed via microsoft/vscode#48258
Please try out vscode insiders from tomorrow

@isidorn isidorn closed this as completed Dec 17, 2019
@isidorn isidorn added this to the January 2020 milestone Jan 21, 2020
@isidorn isidorn added bug Issue identified by VS Code Team member as probable bug file-explorer and removed under-discussion Issue is under discussion for relevance, priority, approach labels Jan 21, 2020
@isidorn
Copy link

isidorn commented Jan 21, 2020

Does this work now as expected with vscode insiders?
Thanks!

@connor4312 connor4312 added the verified Verification succeeded label Jan 30, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug file-explorer verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

7 participants