You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Every time an open file is deleted or moved, Tiled pops up a dialog that requires user interaction to resolve, like this:
This gets very frustrating very quickly when you have a lot of maps open and you're working with source control. I use git, and I'm often moving between branches or commits, stashing and un-stashing changes, etc., and there's a constant cacophony of error dialog sounds from Tiled and an ever increasing stack of dialogs like the one above I have to press "OK" on before I can resume work after I'm done.
Describe the solution you'd like
I love the way Visual Studio Code deals with this situation. The open file gets a red color and a strikethrough on the open file tab, but otherwise nothing happens:
and if you bring the file back, it reloads it and goes back to showing it as a normal, open tab:
If you happen to be editing the file and it is removed and restored with different changes since you started editing it, you will be notified of this only when attempting to save your new changes:
and again, it's an important detail that this only shows up when the file being saved is different on disk than when the edit started. So even if you made a bunch of edits to the file behind the scenes, it'll still save just fine if the contents of it is back to what VSCode expects by the time you save, or if you deleted it.
Describe alternatives you've considered
Something that does work is closing all the maps before doing file operations as the editor only complains about rug pulls on open files. But it's easy to forget and a less friendly option when making on-going changes to multiple files that you like keeping open.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Every time an open file is deleted or moved, Tiled pops up a dialog that requires user interaction to resolve, like this:
This gets very frustrating very quickly when you have a lot of maps open and you're working with source control. I use git, and I'm often moving between branches or commits, stashing and un-stashing changes, etc., and there's a constant cacophony of error dialog sounds from Tiled and an ever increasing stack of dialogs like the one above I have to press "OK" on before I can resume work after I'm done.
Describe the solution you'd like
I love the way Visual Studio Code deals with this situation. The open file gets a red color and a strikethrough on the open file tab, but otherwise nothing happens:
and if you bring the file back, it reloads it and goes back to showing it as a normal, open tab:
If you happen to be editing the file and it is removed and restored with different changes since you started editing it, you will be notified of this only when attempting to save your new changes:
and again, it's an important detail that this only shows up when the file being saved is different on disk than when the edit started. So even if you made a bunch of edits to the file behind the scenes, it'll still save just fine if the contents of it is back to what VSCode expects by the time you save, or if you deleted it.
Describe alternatives you've considered
Something that does work is closing all the maps before doing file operations as the editor only complains about rug pulls on open files. But it's easy to forget and a less friendly option when making on-going changes to multiple files that you like keeping open.
The text was updated successfully, but these errors were encountered: