You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: news/4.40/jdt.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,30 @@ A special thanks to everyone who [contributed to JDT](acknowledgements.md#java-d
16
16
---
17
17
## Java Editor
18
18
-->
19
+
## Java Editor
20
+
21
+
### Improvements for Enhanced Folding and Custom Folding Regions
22
+
<details>
23
+
<summary>Contributors</summary>
24
+
25
+
-[Federico Jeanne](https://github.com/fedejeanne)
26
+
-[Daniel Schmid](https://github.com/danthe1st)
27
+
</details>
28
+
29
+
30
+
#### Visible Improvements
31
+
32
+
Several improvements have been made to the enhanced folding and the custom folding regions features introduced in previous releases, including:
33
+
- The performance of the enhanced folding mechanism has been improved, especially for large files with many foldable elements.
34
+
- Folding regions now include the entire body of control statements, including the opening and closing braces, for a more intuitive folding experience.
35
+
- Minor glitches in the folding behavior have been fixed.
36
+
- The complete list of addressed issues can be found in the following PR: https://github.com/eclipse-jdt/eclipse.jdt.ui/pull/2860
37
+
38
+
#### API/Contract clarifications
19
39
40
+
With these changes, custom subclasses of `DefaultJavaFoldingStructureProvider` will also contain the enhanced and the custom folding regions in their results
41
+
if the appropriate preferences have been activated.
42
+
If this is not desired by the subclass, the regions will have to be explicitly removed from the result.
0 commit comments