199 votes
 
When you rename a file in the sidebar, if you have that file open in a tab it'd be nice if it knew it was renamed, and would save to the correct file instead of essentially copying the new file back.
 
COMPLETED
updated 1 year ago
Added in 2181
 
0
Vincent Côté-Roy
Yes, the current behavior is counter-intuitive and unlike other editors. 
Translation provided by Microsoft translator:

 
0
matrushka

current behaviour is quite confusing.

Translation provided by Microsoft translator:

 
+1
ybakos

This always bites me in the ass and interrupts flow.


When renaming a file, any tabs that had the file open should be "renamed" as well and be bound to the newly named file.


BTW, is there a default keybinding for "rename current file" for the tab under focus?

Translation provided by Microsoft translator:

 
0
Sascha Depold
+1
Translation provided by Microsoft translator:

 
0
Ric Roberts
This always catches me out - if you have the file in an open tab and rename it, but forget to close the old one, you can end up with the old one 'coming back' if you do a 'save all' later.
Translation provided by Microsoft translator:

 
+1
Chris Quakenbush
I am not sure why this hasn't already been implemented! It keeps annoying the hell out of me when renaming a file and having a tab open. Most editors/ides I've worked with (Eclipse, VS.Net, etc) do this by default and saves me a bunch of time.
Translation provided by Microsoft translator:

 
+1
Objective Sheep
Yes this is one of the issues I encounter most often. Please please fix this!
Translation provided by Microsoft translator:

 
0
Cemre Güngör
This made me lose so much time, so many times :(
Translation provided by Microsoft translator:

 
0
Sven Axelsson
It is pretty confusing as it is now. I don't know of any other editor that behaves this way. Please change it.
Translation provided by Microsoft translator:

 
+1
Rob Cameron
This happened to me again just the other day, I kept changing a file and saving it, but my changes weren't showing in my web app. I was about to throw my laptop out the window and it was because I renamed the file, thought I reopened it but didn't, so I kept saving the file back into its old directory. UGH!!!!
Translation provided by Microsoft translator:

Community stats

  • 26,630People
  • 3,758Feedback
  • 5,612Comments
  • 63,077Votes