フィルターのクリア

How to "Collapse all" in appdesigner code view

15 ビュー (過去 30 日間)
Aleksey Voroshilov
Aleksey Voroshilov 2023 年 3 月 3 日
回答済み: Nadia Shaik 2023 年 3 月 6 日
How do I "collapse all" in appdesigner code view?
I tried shortcut that works in matlab editor (Ctrl+) but it does some kind of zoom in appdesigner.
I saw some similar questions with accepted answers which work in editor, but not in appdesigner for me.
Thank you very much!

採用された回答

Nadia Shaik
Nadia Shaik 2023 年 3 月 6 日
Hi Aleksey,
It is my understanding that "Ctrl + +" shortcut is working fine for folding code in MATLAB Editor and not in App Desginer. It might be because the shortcut is already mapped to a different function, which is why it zooms in instead of folding the code.
Please try if "Ctrl + ," shortcut works for folding code in App Designer. If "Ctrl + ," shortcut doesn't work in App Desginer, please follow the below steps to enable the shortcut :
  1. Click on the "Home" tab.
  2. Click on the "Preferences" button in the "Environment" section.
  3. In the preferences window, click on the "Keyboard" tab.
  4. In the "Keyboard Shortcuts" section, search for the "Fold All" command.
  5. If the command is not listed or does not have a keyboard shortcut assigned, you can add the shortcut by selecting the command and clicking on the "Add Shortcut" button. Then, press the "Ctrl + ," keys to assign the shortcut.
  6. Click "Apply" and "OK" to save the changes.
Once you have enabled the keyboard shortcut, you should be able to use "Ctrl + ," to collapse all code sections in App Designer code view.
I hope this helps resolves your query.

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by