删除 bufferscroll 插件后如何在 Sublime Text 中保存折叠/折叠代码

How to save collapsed / folded code in Sublime Text after removal of bufferscroll plugin

既然 BufferScroll 插件已被删除,是否有办法 save/sync 在 Sublime Text 3 中从一个会话到另一个会话折叠代码?

这是背景故事(我找不到link,作者可能删除了它,所以我转述)。基本上,Package Control 的作者要求,而不是使用日期作为版本号(例如 2016.03.18.06.34.41 表示最新版本的 BufferScroll),包作者应该使用 semantic versioning similar to how Github suggests. titoBouzout, who is not only the author of BufferScroll, but of many other very popular packages such as SideBarEnhancements, Tag, and SideBarGit,尝试将他的风格转换成某种东西喜欢 v2016.03.18,但显然 Github 认为版本号太高了。或者其他的东西。我希望我有原始解释。

无论如何,他无法做到这一点,当 informed/told 他 不得不 搬到一个Package Control 上几乎所有其他软件都使用的版本控制方案。相反,他决定带球回家。他保留自己的版本控制方案,并在 Github 上保持他的包可用,但它们将不再在包控制中。

用户必须手动打开命令面板,selectPackage Control: Add Repository,然后输入GithubURL回购协议,例如 https://github.com/titoBouzout/BufferScroll(确保末尾没有 .git)。他们将需要为他们想要使用的每个 titoBouzout 包执行此操作。与直接 git clone 进入 Packages 目录相比,此方法的优点是更新会自动推送,就像 Package Control 包一样。

编辑 幸运的是,即使所有问题都已从 SideBarEnhancements 中删除,我仍然打开了 relevant issue(删除前页面的 Google 缓存)在我的工作笔记本电脑上。以下是作者的解释:

Yes, I had problems to add new packages to the repository because there's a "new"(has some time there) requirement to maintain a version number, and I don't want to maintain versions numbers, because to me a date is enough already. I attempted to automate the version number by adding something without any meaning, just a date, but that broke the complete repository because "large number". So because of this disagreement, I removed all my packages from there. Rules changed, so Im no longer interested to distribute my packages via that channel. However you may decide to add this package manually via the option "Add Repository", this may or may not work, Im not uptodate with the requirements of that to work, and as I say, Im not interested.

更新

所以,看起来作者已经屈服于压力,或者改变了主意,或者什么的,但是所有 his packages 现在都可以通过包控制再次获得,至少现在是这样。

您可以使用 Auto​Fold​Code,它是专用于该 xD 的软件包。它可以通过包控制获得。