Skip to content

Commit 746bc4a

Browse files
jakub-suligailoveeclipse
authored andcommitted
N&N entry for the new default folding
1 parent aabf509 commit 746bc4a

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

news/4.36/images/new_folding.png

9.63 KB
Loading

news/4.36/images/settings_folding.png

33.8 KB
Loading

news/4.36/jdt.html

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,26 @@ <h2>Debug</h2>
228228
</p><br>
229229
</td>
230230
</tr>
231-
231+
<tr id="DefaultFoldingMechanism">
232+
<td class="title">New folding mechanism as Default</td>
233+
<td class="content">
234+
<p>
235+
In the previous releases, a preference to enable different kinds of folding was introduced (see the news for <a href="../4.35/jdt.php#new-folding">4.35</a>).
236+
The feature has been further improved since then and is now <b>enabled by default</b>.
237+
</p>
238+
<p>
239+
This feature enhances the code folding mechanism in Eclipse JDT by enabling folding for control statements like if, while, switch and for. </b>
240+
It improves code readability and navigation by allowing developers to collapse and expand structured blocks.
241+
</p>
242+
<p>
243+
<img src="images/new_folding.png" alt="View of the new folding"/>
244+
</p><br>
245+
The feature can be disabled in the settings under Java → Editor → Folding.<br>
246+
<p>
247+
<img src="images/settings_folding.png" alt="Settings view of the folding"/>
248+
</p><br>
249+
</td>
250+
</tr>
232251
<!--************************ End of Debug ******************************** -->
233252

234253
<!-- *********************** JDT Developers ******************************** -->

0 commit comments

Comments
 (0)