禁用崇高文本文件重新加载对话框 [英] Disable sublime text file-reload dialog

查看:170
本文介绍了禁用崇高文本文件重新加载对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当由于某些修改(修改+从另一个文本编辑器保存)而导致当前文件的内容发生更改时,是否有一种方法可以阻止升华文本文件重新加载对话框弹出.

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:

谢谢您的建议.

推荐答案

据我所知,Sublime仅在文件默认情况下具有未保存的更改时提示.

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

如果即使未修改文件也收到提示,则可以在用户设置中将always_prompt_for_file_reload设置为false.

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

这篇关于禁用崇高文本文件重新加载对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆