Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Solution explorer doesn't refresh after renaming a file #29

Closed
huguesv opened this issue Sep 10, 2015 · 0 comments
Closed

Solution explorer doesn't refresh after renaming a file #29

huguesv opened this issue Sep 10, 2015 · 0 comments

Comments

@huguesv
Copy link
Contributor

huguesv commented Sep 10, 2015

If you rename an existing file in solution explorer, the file on disk gets renamed, but the tree node is unchanged. The icon shows the file as missing.

Note that this doesn't happen for a fresh instance of VS. I haven't found what the trigger is yet. But working in a project that's been opened for a long time, every rename I'm doing fails to refresh as described above.

I vaguely remember from PTVS/NTVS that file system watchers have a tendency to stop working after a while (too many events?) and that may be the case here.

Edit: A project that I opened 20 mins ago is now reproducing the issue, and I haven't made much changes to it at all. It may just be a matter of leaving it open for a while.

@AlexanderSher AlexanderSher self-assigned this Sep 14, 2015
AlexanderSher added a commit that referenced this issue Oct 22, 2015
Fix #29: Solution explorer doesn't refresh after renaming a file
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants