Sublime Text需要重新启动设置更改才能生效 [英] Sublime Text requires restart on settings changes to take effect

查看:438
本文介绍了Sublime Text需要重新启动设置更改才能生效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Sublime Text 3(但也适用于ST2,因为我在切换到ST3之前遇到了同样的问题)要求重新启动才能使所有设置更改生效.这是在办公室的Mac Mini上发生的,而不是在我的Macbook Pro上发生的(这几乎是相同的设置).

My Sublime Text 3 ( but also applies to ST2 as I experienced the same issue before I switched to ST3 ) requires restart for any settings changes to take effect. This happens on a Mac Mini in the office but not on my Macbook Pro ( which is pretty much the same setup ).

我通过将Application Support/Sublime Text 3文件夹符号链接到Dropbox来通过Dropbox同步设置.但是,我可以回想起它发生的时间.

I do sync settings over Dropbox by symlinking Application Support/Sublime Text 3 folder to Dropbox. However, I can recall it happening even before I did that.

有什么想法可以使其立即应用设置更改吗?

Any ideas how to make it apply settings changes immediately?

推荐答案

首先,请确保您正在运行最新ST3的版本.请记住,这是Beta版软件,各个版本之间的问题都将再次发生/更改/修复,因此这可能只是您的特定内部版本的问题.

First, make sure you're running the latest build of ST3. Remember, this is beta software, and things break/change/get fixed again from version to version, so it may just be an issue with your particular build.

我怀疑这与Dropbox有关,因为在几乎所有情况下,只要保存设置文件,就应立即应用设置更改.例如,更改主题应立即进行.要测试它是否与Dropbox相关,请取消当前符号链接到~/Library/Application Support/Sublime Text 3的链接,并使其成为常规目录,然后将所有设置复制过来并尝试更改某些内容.如果立即应用,则是Dropbox的问题.

I suspect that this has something to do with Dropbox, as settings changes should be applied as soon as you save the settings file in almost all cases. For example, changing the theme should happen immediately. To test if it's Dropbox-related, unlink your current symlink to ~/Library/Application Support/Sublime Text 3 and make it a regular directory, then copy all your settings over and try to change something. If it applies right away, then it's an issue with Dropbox.

这篇关于Sublime Text需要重新启动设置更改才能生效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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