当我在另一台设备上打开我的 .R 文件时如何保持折叠函数折叠。工作室
how to keep folded functions folded when I open my .R file on another device. rStudio
我要通过电子邮件发送我的 .R 代码。
如果我的接收器也可以打开 .R 文件并折叠我的折叠函数,那就太好了。 (整洁易读)
这在 Rstudio 中是如何实现的?
Folded regions are preserved while editing a document; however all foldable regions are shown expanded by default when a file is closed and re-opened.
但是,如果我们想扩展 all/collapse all
,我们可以使用 post 中提到的快捷方式
Edit -> Folding:
Collapse — Alt+L
Expand — Shift+Alt+L
Collapse All — Alt+O
Expand All — Shift+Alt+O
我要通过电子邮件发送我的 .R 代码。
如果我的接收器也可以打开 .R 文件并折叠我的折叠函数,那就太好了。 (整洁易读)
这在 Rstudio 中是如何实现的?
Folded regions are preserved while editing a document; however all foldable regions are shown expanded by default when a file is closed and re-opened.
但是,如果我们想扩展 all/collapse all
,我们可以使用 post 中提到的快捷方式Edit -> Folding:
Collapse — Alt+L
Expand — Shift+Alt+L
Collapse All — Alt+O
Expand All — Shift+Alt+O