Opened 3 years ago
View/Edit reuses filenames between instances, confuses texteditors
|Reported by:||syranide||Owned by:|
|Component version:||3.25.1||Operating system type:|
|Operating system version:|
"View/Edit" reuses filenames between instances which dangerously confuses some texteditors into showing the old/wrong file rather than the newly downloaded. I've made several big mistakes due to not realizing this when editing similar looking files.
Problem: "View/Edit: FOO/index.php" in instance 1, close FileZilla but keep the file in the texteditor. "View/Edit: BAR/index.php" in instance 2, the texteditor will not realize its a different file and simply open the existing buffer, not the newly downloaded file.
Solution: Always generate unique filenames for "View/Edit" (date, random, whatever). Perhaps as an option.