加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 资源网站 > 资源 > 正文

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

发布时间:2020-12-14 18:31:14 所属栏目:资源 来源:网络整理
导读:有代码,我可以忘记所有看起来不错: 但是,关闭文件并重新打开它: 如何折叠这段代码我多年都不会编辑(希望如此!)并将其隐藏起来无限期? 解决方法 我认为 BufferScroll插件会做你想要的. Buffer Scroll is a simple Sublime Text plug-in which remembers a
有代码,我可以忘记所有看起来不错:

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

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

解决方法

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读