Skip to content

Commit d3cdbc5

Browse files
committed
Add N&N entry for changes in enhanced and custom folding regions
Contributes to eclipse-jdt/eclipse.jdt.ui#2860
1 parent fc7f3a4 commit d3cdbc5

1 file changed

Lines changed: 22 additions & 3 deletions

File tree

news/4.40/jdt.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,29 @@ A special thanks to everyone who [contributed to JDT](acknowledgements.md#java-d
1212
## JUnit
1313
-->
1414

15-
<!--
16-
---
1715
## Java Editor
18-
-->
16+
17+
### Improvements for Enhanced Folding and Custom Folding Regions
18+
<details>
19+
<summary>Contributors</summary>
20+
21+
- [Federico Jeanne](https://github.com/fedejeanne)
22+
- [Daniel Schmid](https://github.com/danthe1st)
23+
</details>
24+
25+
26+
#### Visible Improvements
27+
28+
Several improvements have been made to the enhanced folding and the custom folding regions features introduced in previous releases, including:
29+
- The performance of the enhanced folding mechanism has been improved, especially for large files with many foldable elements.
30+
- Folding regions now include the entire body of control statements, including the opening and closing braces, for a more intuitive folding experience.
31+
- Minor glitches in the folding behavior have been fixed.
32+
- The complete list of addressed issues can be found in the [PR #2860](https://github.com/eclipse-jdt/eclipse.jdt.ui/pull/2860)
33+
34+
#### API/Contract Clarifications
35+
36+
With these changes, custom subclasses of `DefaultJavaFoldingStructureProvider` will also contain the enhanced and the custom folding regions in their results
37+
if the appropriate preferences have been activated.
1938

2039
<!--
2140
---

0 commit comments

Comments
 (0)