Here are some of the more noteworthy things available in the Photon milestone build M1
which is now available for download.
We also recommend to read the Tips and Tricks, either via Help > Tips and Tricks... or online for
Platform,
JDT, and
PDE.
Platform | |
Improve readability of default text font on macOS |
Reading the source code is the task developers perform the most during coding. So text editors must assist the user as good as possible with that.
Up to now Eclipse running on macOS used the font "Monaco" as the default text editor font. This font does not contain a bold font face. But a lot of source code editors render keywords in the bold font face. With "Monaco" this feature was not available:
On macOS Eclipse Photon now uses the "Menlo" font as the default text font, which does also contain bold font faces. This increases readability in source code editors using bold font faces: |
Open resource dialog highlights matching characters |
The matching characters from the filter are now highlighted in the Open Resource dialog.
|
Manage associations of content types with editors |
The Content Types preference page was extended to allow to view, create and
remove associations with editors.
|
Platform Developers | |
Contribute auto-edit strategies and reconcilers to the Generic Editor |
The Generic Editor now supports two new extension points to add an org.eclipse.jface.text.IAutoEditStrategy
or org.eclipse.jface.text.reconciler.IReconciler respectively for a provided content-type.Typical use cases for auto-edit strategies would be auto-indent, auto-closing braces or other syntax rules... <extension point="org.eclipse.ui.genericeditor.autoEditStrategies"> <autoEditStrategy class="org.eclipse.ui.genericeditor.demo.CloseTagAutoEditStrategy" contentType="org.eclipse.core.runtime.xml"/> </extension>Possible use cases for reconcilers would be code folding or a spell checker... <extension point="org.eclipse.ui.genericeditor.reconcilers"> <reconciler class="org.eclipse.ui.genericeditor.demo.TagFoldingReconciler" contentType="org.eclipse.core.runtime.xml"/> </extension> |
Dropped support for XULRunner |
Eclipse/SWT has dropped support for XULRunner as a browser rendering engine on all platforms.
|
Background color for search box on Mac |
Text.setBackground(Color) can be used to set the background color of a Text widget with SWT.SEARCH style on Mac as well.
This already works on Windows and GTK.
|