Disable sublime text file-reload dialog

佐手、 提交于 2019-12-23 21:25:12

问题


Is there a way to disable sublime text file reload dialog from popping up when the content of the current file has changed due to some modifications(modification + save from another text editor).

sublime text file reload dialog is this:

Thank you for your suggestions.


回答1:


As far as I know, Sublime will prompt only if the file has unsaved changes by default.

If you get a prompt even if the file hasn't been modified, you could set always_prompt_for_file_reload to false in your user settings.

// Always prompt before reloading a file, even if the file hasn't been
// modified. The default behavior is to automatically reload a file if it
// hasn't been edited. If a file has unsaved changes, a prompt will always
// be shown.
"always_prompt_for_file_reload": false


来源:https://stackoverflow.com/questions/33594750/disable-sublime-text-file-reload-dialog

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!