Skip to content

Commit cc81149

Browse files
fedejeanneiloveeclipse
authored andcommitted
Corrections to the N&N for the new default folding in 4.36
1 parent 965b855 commit cc81149

File tree

5 files changed

+21
-20
lines changed

5 files changed

+21
-20
lines changed

news/4.36/images/new-folding.png

4.79 KB
Loading

news/4.36/images/new_folding.png

-9.63 KB
Binary file not shown.

news/4.36/images/settings-folding.png

29.4 KB
Loading

news/4.36/images/settings_folding.png

-33.8 KB
Binary file not shown.

news/4.36/jdt.html

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,27 @@ <h2>Java Editor </h2>
124124
<img src="images/folding_property_page.png" alt="Project Properties page for folding" />
125125
</td>
126126
</tr>
127+
<tr id="DefaultFoldingMechanism">
128+
<td class="title">New folding mechanism as Default</td>
129+
<td class="content">
130+
<p>
131+
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>).
132+
The feature has been further improved since then and is now <b>enabled by default</b>.
133+
</p>
134+
<p>
135+
This feature enhances the code folding mechanism in Eclipse JDT by enabling folding for control statements like
136+
<code>if</code>, <code>while</code>, <code>switch</code> and <code>for</code>. </b>
137+
It improves code readability and navigation by allowing developers to collapse and expand structured blocks.
138+
</p>
139+
<p>
140+
<img src="images/new-folding.png" alt="View of the new folding" />
141+
</p><br>
142+
The feature can be disabled in the settings under Java → Editor → Folding.<br>
143+
<p>
144+
<img src="images/settings-folding.png" alt="New folding preference" />
145+
</p><br>
146+
</td>
147+
</tr>
127148
<!-- ******************* End of Java Editor ************************************* -->
128149

129150
<!-- ******************* Java Views and Dialogs ************************************* -->
@@ -220,26 +241,6 @@ <h2>Debug</h2>
220241
<img src="images/TriggerExecution.png" alt="Resume-Triggerpoint execution" />
221242
</td>
222243
</tr>
223-
<tr id="DefaultFoldingMechanism">
224-
<td class="title">New folding mechanism as Default</td>
225-
<td class="content">
226-
<p>
227-
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>).
228-
The feature has been further improved since then and is now <b>enabled by default</b>.
229-
</p>
230-
<p>
231-
This feature enhances the code folding mechanism in Eclipse JDT by enabling folding for control statements like if, while, switch and for. </b>
232-
It improves code readability and navigation by allowing developers to collapse and expand structured blocks.
233-
</p>
234-
<p>
235-
<img src="images/new_folding.png" alt="View of the new folding"/>
236-
</p><br>
237-
The feature can be disabled in the settings under Java → Editor → Folding.<br>
238-
<p>
239-
<img src="images/settings_folding.png" alt="Settings view of the folding"/>
240-
</p><br>
241-
</td>
242-
</tr>
243244
<!--************************ End of Debug ******************************** -->
244245

245246
<!-- *********************** JDT Developers ******************************** -->

0 commit comments

Comments
 (0)