禁用Sublime Text文件重新加载对话框

3

有没有一种方法可以禁用sublime文本文件重新加载对话框,当当前文件的内容由于某些修改(在另一个文本编辑器中进行修改+保存)而发生更改时,该对话框就会弹出。

sublime文本文件重新加载对话框是这样的:

enter image description here

谢谢您的建议。

1个回答

8
据我所知,Sublime默认只会在文件有未保存的更改时提示。
如果您即使文件没有被修改也收到提示,您可以在用户设置中将always_prompt_for_file_reload设置为false。请保留HTML标记。
// 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

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接