Skip to content

Commit 7e57dfd

Browse files
committed
Minor changes to improve the style and consistency of the documentation
- Ensure all headings are title case. - Use the same style for all menu paths. - Break some very long lines.
1 parent 0ef5333 commit 7e57dfd

File tree

4 files changed

+38
-30
lines changed

4 files changed

+38
-30
lines changed

news/4.37/jdt.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ If the start and end region markers are the same, the same comment can be used t
2828
The last section automatically ends when the last block is closed or at the end of the file.
2929

3030
This is useful if a class (or other Java file) contains multiple sections that are seperated with some comment.
31-
To use this functionality, check "Enable folding of custom regions" in `Window > Preferences > Java > Editor > Folding` and enter the same text in "Region start comment text" and "Region end comment text".
31+
To use this functionality, check `Enable folding of custom regions` in `Window → Preferences → Java → Editor → Folding`
32+
and enter the same text in `Region start comment text` and `Region end comment text`.
3233

3334
![Preference window with folding of custom regions enabled and the start and end region markers set to the same text](images/overlappingStartEndCustomRegionMarkersPrefs.png)
3435

@@ -38,7 +39,7 @@ This marker can then be used in comments to separate start and end regions.
3839

3940
![The same Java class with some regions collapsed](images/overlappingStartEndCustomRegionMarkersCollapsed.png)
4041

41-
### New quick-fix/clean-up to replace deprecated fields
42+
### New Quick-fix/Clean-up to Replace Deprecated Fields
4243
<details>
4344
<summary>Contributors</summary>
4445

@@ -47,7 +48,7 @@ This marker can then be used in comments to separate start and end regions.
4748

4849
In a previous release, support was added to replace deprecated method calls with a suggested replacement found in Javadoc. With this release, it is now possible to also replace fields with suggested replacements.
4950

50-
The new clean-up is found by going to the `Source Fixing` tab of the Clean-up Configuration dialog and selecting: `Replace deprecated field where possible`. The quick-fix is accessible by clicking CTRL+space on the deprecated field reference.
51+
The new clean-up is found by going to the `Source Fixing` tab of the `Custom Clean Ups` dialog and selecting: `Replace deprecated field where possible`. The quick-fix is accessible by clicking CTRL+space on the deprecated field reference.
5152

5253
![Setting the deprecated field clean-up](images/deprecatedFieldCleanUp.png)
5354

@@ -61,7 +62,7 @@ results in:
6162

6263
after applying the clean-up.
6364

64-
### Access modifier specification added to Extract Method
65+
### Access Modifier Specification Added to Extract Method
6566
<details>
6667
<summary>Contributors</summary>
6768

@@ -82,7 +83,8 @@ When extracting code to a method, a user can now specify access modifiers for th
8283
- [Suby S Surendran](https://github.com/subyssurendran666)
8384
</details>
8485

85-
The ruler context menu in the editor has been enhanced to make debugging setup more efficient. You can now directly toggle a breakpoint with hit count or a triggerpoint by `right-clicking on the vertical ruler` (left margin), where the context menu includes the options Toggle Breakpoint with Hit Count and Toggle Triggerpoint.
86+
The ruler context menu in the editor has been enhanced to make debugging setup more efficient. You can now directly toggle a breakpoint with hit count or a triggerpoint
87+
by right-clicking on the vertical ruler (in left margin), where the context menu includes the options `Toggle Breakpoint with Hit Count` and `Toggle Triggerpoint`.
8688

8789
![Ruler context menu in the Java editor showing new entries for Toggle Breakpoint with Hit Count and Toggle Triggerpoint](images/rulerToggleMenuWithHitcountAndTriggerpoint.png)
8890

news/4.37/pde.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ A special thanks to everyone who [contributed to PDE](acknowledgements.md#plug-i
1212
- [Christoph Läubrich ](https://github.com/laeubi)
1313
</details>
1414

15-
PDE previously has created JUnit Plugin-test launches with some broad inclusion settings and defaults that do not always fit different project setups.
16-
From now on, it uses a more minimal approach when creating new JUnit Plugin-test launches by default that is only selecting the test-plugin and leverage
17-
the option to include all required dependencies automatically.
15+
PDE previously has created JUnit Plugin-test launches with some broad inclusion settings and defaults that do not always fit different project setups well.
16+
Now it uses a more minimal approach when creating new JUnit Plugin-test launches that only selects the test-plugin
17+
and leverages the option to include all required dependencies automatically.
1818

19-
This results in much smaller launches that start up faster and do not pull in everything in your workspace by default what is especially a problem when
20-
many independent components in a workspace are to be tested.
19+
This results in much smaller launches that start up faster and do not pull in everything in your workspace by default
20+
which is especially a problematic when many independent components in a workspace are to be tested.
2121

22-
Beside of this it is now possible to configure the used default settings for new launches to adapt to individual needs, because of this
23-
we **strongly recommend** you review these settings and make sure they fit your needs after an upgrade.
22+
In addition, it is now possible to configure the default settings for new launches to adapt to individual needs.
23+
As a result, we **highly recommend** you review these settings to ensure they fit your needs after upgrading.
2424

2525
![New PDE Launch Settings](images/pde_junit_launch_config.png)
2626

27-
As this only affects new launches, you either need to adapt existing launches or delete older ones so they are created with fresh settings on the next run,
28-
if you find any issues or difficulties using this feature don't hesitate to let us know and open an [issue](https://github.com/eclipse-pde/eclipse.pde/issues)
29-
or a new [discussion](https://github.com/eclipse-pde/eclipse.pde/discussions).
27+
As this only affects new launches, you either need to adapt existing launches or delete older ones so they are created with fresh settings on the next run.
28+
If you encounter any issues or difficulties using this feature don't hesitate to let us know by opening an [issue](https://github.com/eclipse-pde/eclipse.pde/issues)
29+
or starting a [discussion](https://github.com/eclipse-pde/eclipse.pde/discussions).
3030

3131
### OSGi Test Framework Support
3232

@@ -37,17 +37,22 @@ or a new [discussion](https://github.com/eclipse-pde/eclipse.pde/discussions).
3737
</details>
3838

3939
The [OSGi Testing Support](https://github.com/eclipse-osgi-technology/osgi-test#osgi-testing-support) is a great library for testing OSGi applications,
40-
and PDE now add first-class support as it does for OSGi Annotations already.
40+
and PDE now adds first-class support as it already did for OSGi Annotations.
4141

42-
To enable this do the following:
42+
Enable this as follows:
4343

44-
1. Make sure your target platform contains the necessary OSGi test dependencies, to make this more easy PDE provides a feature named `org.eclipse.pde.osgitest.dependencies.feature`.
45-
2. Go to the [Build Path Settings](https://help.eclipse.org/latest/topic/org.eclipse.jdt.doc.user/reference/ref-properties-build-path.htm) and add the JUNIT Library under the [Libraries Tab](https://help.eclipse.org/latest/topic/org.eclipse.jdt.doc.user/reference/ref-properties-build-path.htm#libraries) but do not add any JUnit or OSGi Testing imports/requirements to your manifest!
44+
1. Make sure your target platform contains the necessary OSGi test dependencies.
45+
To make this easier, PDE provides a feature named `org.eclipse.pde.osgitest.dependencies.feature`.
46+
2. Go to the [Build Path Settings](https://help.eclipse.org/latest/topic/org.eclipse.jdt.doc.user/reference/ref-properties-build-path.htm)
47+
and add the Junit Library under the [Libraries Tab](https://help.eclipse.org/latest/topic/org.eclipse.jdt.doc.user/reference/ref-properties-build-path.htm#libraries)
48+
but do not add any JUnit or OSGi Testing imports/requirements to your manifest!
4649
3. Place your Tests into a source folder marked as test source
4750

48-
PDE will then automatically add required dependencies for OSGi Testing Support and you can use all the standard annotations right now.
51+
PDE will then automatically add required dependencies for OSGi Testing Support and you can use all the standard annotations.
4952

50-
After that just run your tests as the usual plugin test, you can find an example [here](examples/osgitest-example.zip), if you find any issues or has suggestions don't hesitate to let us know and open an issue [here](https://github.com/eclipse-pde/eclipse.pde/issues).
53+
After that just run your tests as the usual plugin test.
54+
You can find an example [here](examples/osgitest-example.zip).
55+
If you encounter issues or have suggestions don't hesitate to let us know by opening an [issue](https://github.com/eclipse-pde/eclipse.pde/issues).
5156

5257
<!--
5358
## Editors

news/4.37/platform.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ if something is missing or not working as expected.
5858
The terminal support can be installed as follows:
5959

6060
- Download the latest integration build SDK [here](https://download.eclipse.org/eclipse/downloads/).
61-
- Go to `Help > Install New Software` and add the site https://download.eclipse.org/eclipse/updates/4.37-I-builds/ then select
61+
- Go to `Help Install New Software` and add the site https://download.eclipse.org/eclipse/updates/4.37-I-builds/ then select
6262
`Terminal Feature` and `Terminal Session Support`.
6363
- Now in the toolbar choose the `Open a Terminal` icon ensure the `Terminal` view works for your platform.
6464

@@ -88,10 +88,10 @@ The hotkey to open the search dialog is `Ctrl+F`,
8888
the dialog opens at the bottom left of the client area of the Browser widget. See screenshots below.
8989

9090
The search dialog is closed with `Esc`.
91-
Its also closed when resizing or moving the `Browser` widget or its parent `Shell`.
91+
It's also closed when resizing or moving the `Browser` widget or its parent `Shell`.
9292
The dialog can be dragged and will remember its position until such a resize or move.
9393

94-
The search can be disabled globally with the following VM property, e.g. in case of WebKit crashes:
94+
The search can be disabled globally with the following VM property, e.g., in case of WebKit crashes:
9595

9696
```
9797
-Dorg.eclipse.swt.internal.webkitgtk.disableBrowserSearch=true
@@ -167,15 +167,15 @@ This is how it looks with different values of that property:
167167
- [Sougandh S ](https://github.com/SougandhS)
168168
</details>
169169

170-
To make breakpoint management easier, the `Breakpoints view` now organizes breakpoints into separate groups based on their enablement status.
170+
To make breakpoint management easier, the `Breakpoints` view now organizes breakpoints into separate groups based on their enablement status.
171171
This clearly distinguishes between breakpoints that are `enabled` and those that are `disabled`.
172172

173-
To use this, go to more options of `Breakpoints view` then `Group By -> Enablement`
173+
To use this, go to more options of `Breakpoints` view then `Group By Enablement`
174174

175175
![Breakpoint Grouping Menu](images/BreakpointGroupMenu.png)
176176

177-
When this option is selected, enabled breakpoints are listed together at the top under an `Enabled group`.
178-
Disabled breakpoints appear below under `Disabled group`. This organization helps you quickly locate breakpoints that are enabled or disabled.
177+
When this option is selected, enabled breakpoints are listed together at the top under an `Enabled` group.
178+
Disabled breakpoints appear below under `Disabled` group. This organization helps you quickly locate breakpoints that are enabled or disabled.
179179
It makes it easier to re-enable or disable breakpoints without scrolling through a long list.
180180

181181
![Breakpoint Enablement Grouping](images/EnablementGrouping.png)

news/4.37/platform_isv.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ See [Support Launching with a Terminal Console](platform.md#support-launching-wi
2323
</details>
2424

2525
It is now possible to dynamically hide the context menu in the perspective switcher using the application model API.
26-
This enables Eclipse RCP apps using 3.x API to enable and disable the menu at runtime.
26+
This allows Eclipse RCP apps using 3.x API to enable and disable the menu at runtime.
2727

2828
Example usage:
2929
```java
@@ -45,5 +45,6 @@ The `ImageDataProvider` API documentation has been updated to clarify that imple
4545
For example, if `getImageData(100)` returns an image of width `w` and height `h`, then `getImageData(200)` must return an image of width `2 * w` and height `2 * h`, if non-null.
4646
This only makes an implicit assumption explicit, some consumers have always relied on this linear scaling behavior, and lack of it may have led to unexpected behavior in the past.
4747

48-
Additionally, optional runtime checks verifying this linear scaling behavior are available as a debugging feature to assist developers in validating their implementations.
48+
Additionally, optional runtime checks verifying this linear scaling behavior are available as a debugging feature to assist developers in validating their implementations.
49+
4950
These checks can be enabled by starting the application with `-Dorg.eclipse.swt.internal.enableStrictChecks`, but note that this system property may be subject to change in future releases without prior notice.

0 commit comments

Comments
 (0)