2021b code folding is actually too dense

4 vues (au cours des 30 derniers jours)
David De Lorenzo
David De Lorenzo le 16 Nov 2021
In 2021a and before, code folding in sections had a blank line separator, which I liked since it improved readability. Now in 2021b the code sections fold contiguously, and it's too dense:
%% here is a section header
x = 1;
y = 3;
%% and here is another section
z = 4;
If I'm in the MATLAB Editor with that code example, and collapse the first section, it looks like this:
%% here is a section header collapsed ...
%% and here is another section
z = 4;
whereas it used to look like this:
%% here is a section header collapsed ...
%% and here is another section
z = 4;
Is there any way to recover or workaround to the old appearance? Thanks!

Réponse acceptée

Chidvi Modala
Chidvi Modala le 18 Nov 2021
Hi David,
I have heard that this issue is known and the concerned parties may be investigating further.
  1 commentaire
David De Lorenzo
David De Lorenzo le 18 Nov 2021
Thanks, Chidvi! I appreciate the quick response & update. Best,
Dave.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by