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进行标准安装.

相关文章

vue阻止冒泡事件 阻止点击事件的执行 <div @click=&a...
尝试过使用网友说的API接口获取 找到的都是失效了 暂时就使用...
后台我拿的数据是这样的格式: [ {id:1 , parentId: 0, name:...
JAVA下载文件防重复点击,防止多次下载请求,Cookie方式快速简...
Mip是什么意思以及作用有哪些