因此,去年切换到 Sublime Text 后,它已成为我选择的编辑器,并且我通过出色的包控制安装了几个不同的包,并且基本上都根据我的喜好进行了自定义。经过几个月的不频繁使用后,我又回到了一个代码密集型项目并启动了 ST2,结果发现我的包都不起作用。
经过一番挖掘,我终于想到打开我的首选项文件,却发现我所有安装的软件包都在“ignored_packages”列表中。搞什么?
有其他人经历过这种情况或者知道是什么原因造成的吗?我有时会在睡梦中做一些有趣的事情,但不是这个!
My earlier comment https://stackoverflow.com/questions/18177107/sublime-text-2-packages-ignored#comment26633076_18177107 notwithstanding, I think I've figured out what's going on. The issue seems to be Package Control, most likely the new version update to 2.0. I just restarted ST2 after having it open for the past few days, and happened to have the console (Ctrl`) open, and saw that several of my packages, including Tag, Terminal, and SublimeREPL, were added to the ignored packages list. This typically happens when a package is being updated or removed, and is done so it can't be used halfway through the operation before everything is synced. At any rate, for me there was some sort of error, and I had to force quit Sublime and restart it. I immediately checked my preferences, and sure enough several packages were in the "ignored_packages"
array.
所以,我猜测类似的事情发生在您身上,并且无论出于何种原因,这些软件包都没有从忽略列表中删除,可能是因为系统更新没有正常完成。希望这种情况不会再发生,但如果真的发生了,你会知道该去哪里寻找。另外,如果再次发生这种情况,我会提交一份issue https://github.com/wbond/sublime_package_control/issues在 Github 上,因为这可能是一个错误。
Update
My issue https://github.com/wbond/sublime_package_control/issues/564Github 上已合并为this one https://github.com/wbond/sublime_package_control/issues/558,如果你一直滚动到底部 wbond 有现在修复 https://github.com/wbond/sublime_package_control/issues/558#issuecomment-22680296: 下载Package Control 2.0.1-beta https://sublime.wbond.net/prerelease/Package%20Control.sublime-package,将其放入您的Installed Packages
文件夹(删除已有的文件夹),然后添加存储库https://sublime.wbond.net/prerelease/packages.json
通过选择Preferences -> Package Control -> Add Repository
。重新启动ST2,看看会发生什么,特别是在多次重新启动后。如果您仍然有错误或奇怪的行为,请添加到问题中 https://github.com/wbond/sublime_package_control/issues/558.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)