如何在崇高的文本中自动重新加载当前文件 [英] How to auto-reload current file in sublime text

查看:38
本文介绍了如何在崇高的文本中自动重新加载当前文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时我想在另一个文本编辑器中修改文件并切换回来,但是 Sublime Text 3 不会重新加载我之前编辑过的当前文件.

Sometimes I would like to modify files in another text editor and switch back, but Sublime Text 3 wouldn't reload the current file that I edited before.

如何让它自动重新加载文件?

How do I get it to reload the file automatically?

推荐答案

有一个设置可以控制您是否可以看到提示,否则默认情况下 Sublime Text 会自动重新加载文件.

There's a setting to control whether you get to see a prompt, but otherwise Sublime Text reloads the file automatically by default.

查看Preferences.sublime-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天全站免登陆