微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

sublimetext2 – 我可以在Sublime Text 2中保存折叠的代码吗?

代码,我可以忘记所有看起来不错:

但是,关闭文件并重新打开它:

如何折叠这段代码我多年都不会编辑(希望如此!)并将其隐藏起来无限期?

解决方法

我认为 BufferScroll插件会做你想要的.

Buffer Scroll is a simple Sublime Text plug-in which remembers and
restores the scroll,cursor positions,also the selections,marks,
bookmarks,foldings,selected Syntax and optionally the colour scheme,
when you open a file. Will also remember different data depending the
position of the file in the application (example file1 in window1 has
scroll line 30,file1 in window2 has scroll in line 40)

Also,via preferences,allows to enable syncing of scroll,bookmarks,
marks and folds between cloned views,live.

更新:

要在ST2上安装此软件包,您必须将存储库添加到PackageControl用户设置:

"repositories":
    [
        "https://github.com/titoBouzout/BufferScroll"
    ]

现在您应该能够从ST2进行标准安装.

原文地址:https://www.jb51.cc/html/226177.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐