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

Renaming a file with just different capitalization leads to phantom files #790

Closed
sewbacca opened this issue Nov 8, 2021 · 0 comments
Closed
Labels
bug Something isn't working
Milestone

Comments

@sewbacca
Copy link
Contributor

sewbacca commented Nov 8, 2021

Describe the bug
When creating a file and renaming it to captialization variation, a phantom file is created, which seems to stick arround forever.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Project
  2. Create a file called test.lua
  3. Define a class called Test
  4. Rename the given file into a capitalization variation (Test.lua)
  5. See multiple definitions warning

Expected behavior
No phantom file to cause multiple definitions warning.

Screenshots
Walkthrough demonstration:

demonstration.gif

Sorry for the poor video quality, but converting mp4 to gif is a pain in the ass.

Environment (please complete the following information):

  • OS: Windows
  • No WSL
  • Client: VSCode

Additional context
It maybe has something to do with NTFS not distinguishing between capitalization variations in filename.
Currently only deleting the corresponding file and restarting the editor seems to get rid of the phantom file.

Provide logs
Log file

@sumneko sumneko added the bug Something isn't working label Nov 9, 2021
@sumneko sumneko added this to the 2.5.0 milestone Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants