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
Bug: In the side-panel file navigator, symbolic linked folders have wrong links #1548
Comments
Looks like this may have also been reported here: #151 (comment) |
It does seem like a duplicate, but the other issue is structurally problematic and chaotic. Prolly makes sense to tag this issue as well with the references in place. |
Currently we just recognize duplicate inodes to prevent recursion and an infinite catalog of files in Goto Anything. As you can see, we are marking the first folder we find as the "main" entry. The reason for this is that the original folder might not actually be part of the open folders. If we skip all symlinks, then the folder would never be included. We only know that we need to skip something once we see it for the second time. There may be some room to improve this, however I'm not sure exactly when I'm going to touch this part of the codebase next. |
I've encountered something similar, but slightly different. My case is that sublime has seen the directory before indeed, but it has moved since. Example: In the console, there's this line: |
@debug It would seem that we would need to check folders when removing them to see if there is a duplicated folder and trigger rescanning that if the other duplicate is removed. |
This was fixed in build 3158. |
Summary
Expected behavior
Actual behavior
Folders in Sublime side-panel do not reflect the actual links.
Steps to reproduce
Environment
Verified on:
The text was updated successfully, but these errors were encountered: