Code folding in MATLAB 2020b? (LIVE SCRIPT)

Hello,
can I fold my sections in Live Script files (2020b ver)?
Similar to folding sections determined by %% in regular script?

 Réponse acceptée

Aghamarsh Varanasi
Aghamarsh Varanasi le 27 Mai 2021
Modifié(e) : Aghamarsh Varanasi le 27 Mai 2021

2 votes

This feature is currently not available for the Live Editor as of R2021a. I have brought this to the notice of the concerned people and it might considered for a future release.

7 commentaires

Mark Golberg
Mark Golberg le 27 Mai 2021
I really hope it will be added soon, as Live Script suppose to be Matlab's leading format.
But, lacking of Sections Folding really prevents me from using it right now.
Filipe Borges
Filipe Borges le 20 Juin 2021
Is it possible to at least collapse if/else statements in the live script?
I am switching back and forth between Matlab and Colab. I love the Live Editor features! But I still miss few Jupyter notebook features, code / section folding being one of them. I like that the first '%%' turns into title of the file, but it would be nice to have another sub-level %%% section once the section folding gets introduced :)
Just wanting to also let mathworks know that this would be a very appreciated feature for me! Code folding helps quite a bit with my workflow in jupyter.
pek morgan
pek morgan le 20 Déc 2023
Just wanting to also let mathworks know that this would be a very appreciated feature for me!
Vasko
Vasko le 6 Fév 2025
I 3rd the need for this feature
Mark Golberg
Mark Golberg le 8 Fév 2025
any estimation when it would be added? Q was asked almost 4 years ago

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Integration with Online Platforms dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by