-
Notifications
You must be signed in to change notification settings - Fork 676
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
Types inside the renamed file are seen as duplicate #1008
Comments
In addition to this one, there is also another bug which is related to file delete. If you delete a file, the members inside that file still seems valid (e.g. shows up on IntelliSense list, etc.). Should I open a separate issue for this? |
@tugberkugurlu I'm able to recreate that bug too. I think it's related. The Intellisense seems to not update its knowledge of the current project when any existing files are renamed or deleted; however, it works fine when you're adding new files that didn't previously exist. Hoping this gets fixed, it's been a reported issue since September (#785). |
The problem is that at the moment, upon rename, the Workspace only raises a If you continue renaming 10 times, you end up with 10 copies of the same document in the workspace. |
Yeah, we need to fix that. |
OK. We're going to use #785 to track fixing this issue. |
Environment data
dotnet --info
output:VS Code version:
C# Extension version:
Steps to reproduce
Load a project, rename a file which has a class in it.
Expected behavior
Should work as it has been before.
Actual behavior
It doesn't unload the type inside the deleted file and see the type inside new file as a duplicate:
The text was updated successfully, but these errors were encountered: