Home Download Buy Blog Forum Support

alert in ST3 on external modified files

alert in ST3 on external modified files

Postby rajeshpv on Fri Feb 22, 2013 8:04 pm

what is the setting to make an alert , instead of auto-refresh ing the file, if the same file is modified by another process/editor externally, btw, I bought a licensed ST3.

Thanks
Rajesh
rajeshpv
 
Posts: 2
Joined: Sun Feb 17, 2013 9:34 pm

Re: alert in ST3 on external modified files

Postby BillyTom on Mon Mar 18, 2013 8:16 am

I too am in desperate need of this function. If someone else edits the file I'm currently working on then I need Sublime to alert me, and not silenty discard my changes to the file.

I've found a few related topics, but no answer to your question:

https://www.sublimetext.com/forum/viewt ... f=3&t=7626
http://sublimetext.userecho.com/topic/7 ... le-reload/
Last edited by BillyTom on Mon Mar 18, 2013 10:33 am, edited 1 time in total.
BillyTom
 
Posts: 5
Joined: Mon Mar 18, 2013 8:08 am

Re: alert in ST3 on external modified files

Postby jps on Mon Mar 18, 2013 8:47 am

Sublime Text will never silently discard your changes, it only reloads without prompting when you have no unsaved changes.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: alert in ST3 on external modified files

Postby LONGMAN on Mon Mar 18, 2013 9:06 am

jps wrote:Sublime Text will never silently discard your changes, it only reloads without prompting when you have no unsaved changes.

Is possible add setting "Prompt for reload changed files"?
AutoBackups: ST2 / ST3
CodeFormatter: ST2 / ST3
StringUtilities: ST2 / ST3
LONGMAN
 
Posts: 68
Joined: Mon Nov 26, 2012 5:03 pm
Location: Tbilisi, Georgia

Re: alert in ST3 on external modified files

Postby robertcollier4 on Mon Mar 18, 2013 11:50 am

It would be nice to have a overlay on the bottom that can also be accessible by the plugin API. Something like a "warning bar" or "notification bar". The bar would be like the findbar - but you would be able to control its message and also it could have buttons that would return a response to the plugin.
So for example - when a file is detected as modified - it would show the message-bar overlay showing the last modified time of the current file and the newly detected revision - and on that overlay it would have a button for "Revert to new version", "Ignore".
robertcollier4
 
Posts: 154
Joined: Sun Feb 24, 2013 5:37 pm

Re: alert in ST3 on external modified files

Postby BillyTom on Tue Mar 19, 2013 7:42 am

jps wrote:Sublime Text will never silently discard your changes, it only reloads without prompting when you have no unsaved changes.


Thanks for clearing this up. Would it be possible to add an option to disable the auto-reload altogether and always show a warning on file changes?
BillyTom
 
Posts: 5
Joined: Mon Mar 18, 2013 8:08 am

Re: alert in ST3 on external modified files

Postby slothdog on Wed Mar 20, 2013 9:24 pm

As someone who frequently needs to browse large live log files over a slow network connection, I would also love to have a way to turn off file auto-reloading.
slothdog
 
Posts: 1
Joined: Wed Mar 20, 2013 9:21 pm

Re: alert in ST3 on external modified files

Postby BillyTom on Fri Apr 19, 2013 12:27 pm

There is a feature request to add this function to Sublime Text: http://sublimetext.userecho.com/topic/7 ... le-reload/

If you like to see this feature then please vote for it. (I did)
BillyTom
 
Posts: 5
Joined: Mon Mar 18, 2013 8:08 am


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 17 guests