Can I "collapse all in" the editor like in the help browser

92 ビュー (過去 30 日間)
Micke Malmström
Micke Malmström 2017 年 1 月 13 日
回答済み: Wenxuan Jia 2023 年 6 月 27 日
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?

採用された回答

Steven Lord
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."
  4 件のコメント
Ben Henley
Ben Henley 2022 年 8 月 1 日
Please respond @StevenLord, how do you "Fold All" in Matlab 2022a?
Adam Danz
Adam Danz 2022 年 8 月 2 日
編集済み: Adam Danz 2022 年 8 月 2 日
Updated link to documentation explaining how to expand or collapse all
Screenshot from 22a, View tab.

サインインしてコメントする。

その他の回答 (1 件)

Wenxuan Jia
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.

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by