Dataloss when renaming file two times #211374
Labels
author-verification-requested
Issues potentially verifiable by issue author
bug
Issue identified by VS Code Team member as probable bug
confirmed
Issue has been confirmed by VS Code Team member
file-explorer
Explorer widget issues
file-io
File I/O
insiders-released
Patch has been released in VS Code Insiders
workbench-editors
Managing of editor widgets in workbench window
Milestone
Hello everyone.
Microsoft has a lot of text editor on their different products and I have come to a way of working (which might not be the best of all in some cases) and it seems like using Visual Studio Code in a manner allows the customer, like myself, to be loosing its file progress when renaming a file.
This happened after I wanted to rename a java class, for example, “myclass.java” to “MyClass.java”.
Since the change lookup is case insensitive, they both are of equal names which will result in no name change, so you will have to rename the file to a temporary name in order to make your change.
Now the following process will come in to the bug to be fixed.
Now I know that saving will fix all of this. BUT, Microsoft, as a reliable source for text editing, at least I would have liked a minimum of a prompt of “Are you sure you want to rename the file to "newNameFile"? The work in progress might be loss.”
This is very common for I to do this in other Microsoft text editing products and this seems to be a bug to be fixed. Allowing the customer to loose its progress without warning is a bug to me.
All thanks.
The text was updated successfully, but these errors were encountered: