Can I "collapse all in" the editor like in the help browser
93 次查看(过去 30 天)
显示 更早的评论
When I work in a class I usually collapse all my methods (functions) to get a better overwiew. BUT I cant seem to find a way of collapsing all of them at once, instead I have to do them one by one...
Im I just missing something super simple or is matlab actually lacking this feature in the Editor?
0 个评论
采纳的回答
Steven Lord
2017-1-13
From the documentation: "To expand or collapse all of the code in a file, place your cursor anywhere within the file, right-click, and then select Code Folding > Expand All or Code Folding > Fold All from the context menu."
更多回答(1 个)
Wenxuan Jia
2023-6-27
You should search "Fold-all" instead of "Collapse-all" in the keyboard shortcut menu. I was also confused for a while.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!