Sublime Text 2软件包被忽略 [英] Sublime Text 2 packages ignored

查看:102
本文介绍了Sublime Text 2软件包被忽略的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,在去年切换到Sublime Text之后,它已成为我的首选编辑器,并且我通过出色的Package Control安装了多个不同的软件包,并基本上根据自己的喜好对其进行了自定义.经过几个月的不频繁使用后,我跳回一个代码密集型项目,并启动了ST2,结果发现我的所有软件包都无法正常工作.

So after switching over to Sublime Text last year, it has become my editor of choice, and I have installed several different packages via the excellent Package Control and basically customized it all to my liking. After a couple months of infrequent use, I jumped back into a code-intensive project and fired up ST2 only to find that none of my packages are working.

经过一番挖掘,终于想到打开我的首选项文件,只是在"ignored_pa​​ckages"列表中找到了我所有已安装的软件包. WTF?

After some digging, it finally occurred to me to open my preferences file, only to find all of my installed packages in the "ignored_packages" list. WTF?

有没有其他人经历过这种情况或知道是什么原因造成的?有时候我会在睡觉时做一些有趣的事情,但不是这样!

Has anyone else experienced this or know what would have caused this? I do some funny things in my sleep sometimes, but not this!

推荐答案

我之前的评论尽管如此,我认为我已经知道发生了什么事.问题似乎是程序包控制,很可能是新版本更新到2.0.在过去的几天里,我刚刚打开ST2并重新启动它,然后碰巧打开了控制台( Ctrl `),并且看到了我的几个软件包,包括Tag ,终端和SublimeREPL已添加到忽略的软件包列表中.通常在更新或删除软件包时会发生这种情况,并且这样做已经完成,因此在同步所有内容之前,不能在操作中途使用它.无论如何,对我来说还是有某种错误,我不得不强制退出Sublime并重新启动它.我立即检查了首选项,并确保在"ignored_packages"数组中有足够的软件包.

My earlier comment 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.

所以,我猜想是您这样的事情发生了,无论出于什么原因,都没有从忽略列表中删除软件包,这可能是因为系统更新未正常完成.希望不会再发生这种情况,但是如果这样,您将知道在哪里看.此外,如果再次发生,我会在Github上提交 issue ,因为这可能是一个错误.

So, I'm guessing something like this happened to you, and for whatever reason the packages weren't removed from the ignored list, possibly because the system update didn't complete normally. Hopefully this won't happen again, but if it does you'll know where to look. Additionally, if it does happen again, I'd submit an issue on Github, as this may be a bug.

我在Github上的问题已合并为添加到该问题中.

My issue on Github has been merged into this one, and if you scroll all the way down to the bottom wbond has a fix for now: Download Package Control 2.0.1-beta, put it in your Installed Packages folder (removing the one that's already there), and adding the repository https://sublime.wbond.net/prerelease/packages.json by selecting Preferences -> Package Control -> Add Repository. Restart ST2, and see what happens, especially after restarting multiple times. If you still have bugs or odd behavior, please add to the issue.

这篇关于Sublime Text 2软件包被忽略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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