Skip to content

Commit 8412c63

Browse files
committed
Add note about changed Compare editor defaults
See eclipse-platform/eclipse.platform.ui#3776
1 parent f26f68d commit 8412c63

2 files changed

Lines changed: 32 additions & 2 deletions

File tree

144 KB
Loading

news/4.40/platform.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ A special thanks to everyone who [contributed to Eclipse-Platform](acknowledgeme
99
<details>
1010
<summary>Contributors</summary>
1111

12-
- [Andreev S](https://github.com/trancexpress)
13-
- [Loskutov A](https://github.com/iloveeclipse)
12+
- [Andreev Simeon](https://github.com/trancexpress)
13+
- [Loskutov Andrey](https://github.com/iloveeclipse)
1414
</details>
1515

1616
A new option has been added to `Console` view preferences that lets you control line length in the `Console`.
@@ -31,6 +31,36 @@ This feature is disabled by default.
3131
---
3232
## Text Editors
3333

34+
### Improved Defaults in Compare editor
35+
<!--
36+
https://github.com/eclipse-platform/eclipse.platform/pull/2564
37+
https://github.com/eclipse-platform/eclipse.platform/pull/2565
38+
https://github.com/eclipse-platform/eclipse.platform/pull/2566
39+
-->
40+
<details>
41+
<summary>Contributors</summary>
42+
43+
- [Loskutov Andrey](https://github.com/iloveeclipse)
44+
</details>
45+
46+
The default settings of the Compare editor have been modernized to provide a more intuitive and efficient experience out of the box:
47+
48+
* **Structural compare shown in Outline by default** – the Outline view now shows structural differences automatically when available, making better use of available space and improving navigation.
49+
* **Improved visualization of changes** – line ranges are now used by default to connect differences, making change flows easier to follow visually.
50+
* **Natural diff order** – the compare panes now follow the commonly used convention with the original/base content on the left and the modified content on the right.
51+
52+
These changes align Eclipse with common expectations from modern development tools and reduce the need for manual preference adjustments.
53+
54+
The individual options can be found on the `Preferences > General > Compare/Patch > Compare editor` page:
55+
56+
* `General > Show structural compare in the Outline view when possible`
57+
* `Text Compare > Connect ranges with single line`
58+
* `Text Compare > Swap left and right` (the toggle is also available in the compare editor toolbar)
59+
60+
With these settings changed, the Compare editor now looks like below (changes are highlighted with green boxes):
61+
62+
![Improved defaults in Compare editor](images/CompareEditorChanges.png)
63+
3464
### Show Zero-Width Spaces and Characters (ZWSP)
3565
<!-- https://github.com/eclipse-platform/eclipse.platform.ui/pull/1437 -->
3666
<details>

0 commit comments

Comments
 (0)