2021b code folding is actually too dense

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!

 Accepted Answer

Hi David,
I have heard that this issue is known and the concerned parties may be investigating further.

1 Comment

Thanks, Chidvi! I appreciate the quick response & update. Best,
Dave.

Sign in to comment.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Release

R2021b

Community Treasure Hunt

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

Start Hunting!