Sublime Forum

Update documents when changes made outside of Sublime

#1

If I edit a document, or shift a document, outside of Sublime Text 2 it doesn’t seem to be aware of these changes.

If I’ve edited a file it could let me know that changes have been made outside of Sublime Text 2 and ask if I’d like reload the file.
If I’ve deleted a file, it could let me know that the file has been deleted outside of Sublime Text 2 and ask me if I’d like to save a copy or just close the file.

That would be really cool.

0 Likes

#2

ST2 already does this for me, can you describe your setup?

0 Likes

#3

My setup is just straight out of the box. Is there any particular setting you have to enable this?

0 Likes

#4

Oh wait, the file updates with changes silently… but it would be good if it prompted me to reload or save a copy.

And it doesn’t really tell me when I’ve removed a file outside of sublime, it just indicates that I need to save the file with the dot on the tab. Again, it would be good to be prompted to either close the document or save a copy.

0 Likes

#5

Sometimes it does the prompt, sometimes not. I haven’t looked into the criteria for when the prompt occurs, as I usually just click ‘OK’ to see the updated file. It’s not ideal, but you should see the process take place in the console (Ctrl+`).

0 Likes

#6

This is quite frustrating.

If I’ve got “remember_open_files”: true, and haven’t used Sublime Text 2 for a couple of days, I potentially end up working on files that have moved, or have been deleted.

Can an option to force these alerts be added? So people that don’t care about this don’t have to opt in?

0 Likes