gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 10:51:47 26 4
gpt4 key购买 nike

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

nice

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

messy

我怎样才能折叠这段代码我不会编辑多年(希望如此!)并无限期地隐藏它?

最佳答案

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

关于sublimetext2 - 我可以在 Sublime Text 2 中保存折叠的代码吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21616874/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com