-
Notifications
You must be signed in to change notification settings - Fork 805
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
Interface renaming works weirdly in some edge cases #15399
Comments
Incremental renaming path (or whatever its called right now) is unstable, it's known. |
It's just weird it happens only when renaming the interface after the cast. And that it crashes VS every time. |
So this isn't related to interfaces, rather to renaming the last symbol in the file. And it also reproduces in C#, so not our fault this time! |
Just wondering - can you post some C# code to get the same behavior? I am curious to reproduce. |
@psfinaki sure, for example: var hello = 1;
var x = hello; Just create a console app and put it at the end of Top level statements have to be enabled (they are by default) so that you can get the symbol close enough to the end of the document. |
Hah alright, confirmed. Yeah that's quite glaring, thanks :D |
VS team triaged it. I should be notified when they fix it. Also it's probably not high impact, since renaming the last symbol in file is probably not as common :) |
WTF:
bug1.mp4
WTF!!!!
bug2.mp4
Code:
One of the weirdest things I have seen in VS. Reproduces only on the last case. VS crash is caused when I try to move the cursor in the renaming window using the mouse.
The text was updated successfully, but these errors were encountered: