From 271806aa8836d7aa922370759f78180eb14234e7 Mon Sep 17 00:00:00 2001 From: Holger Voormann Date: Sun, 25 Sep 2022 09:18:17 +0200 Subject: [PATCH] Eclipse 2022-09: Sample code; other final updates --- README.md | 10 +-- intro_outro_thumbnail.svg | 32 ++++---- reset_workspace_and_installation.bat | 12 +-- .../Eclipse 2022-09 Improvements/.classpath | 39 ++++++++++ .../Eclipse 2022-09 Improvements/.project | 45 +++++++++++ .../.settings/hello_ANSI.bat.launch | 6 ++ .../.settings/org.eclipse.jdt.apt.core.prefs | 6 ++ .../.settings/org.eclipse.jdt.core.prefs | 9 +++ .../.settings/org.eclipse.m2e.core.prefs | 4 + .../JDK sources (65,486 files)/README.md | 7 ++ .../hello_ANSI.bat | 2 + .../Eclipse 2022-09 Improvements/pom.xml | 77 +++++++++++++++++++ .../java/com/example/AnsiEscapeCodes.java} | 1 + .../src/main/java/com/example/Element.java | 16 ++++ .../main/java/com/example/ManifestReader.java | 17 ++++ .../main/java/com/example}/ToEnhancedFor.java | 2 + .../java/com/example}/ToSwitchExpression.java | 6 +- .../src/main/resources/.gitkeep | 0 .../test/java/com/example/ElementTest.java | 16 ++++ .../java/com/example/ToEnhancedForTest.java | 53 +++++++++++++ .../com/example/ToSwitchExpressionTest.java | 34 ++++++++ .../src/test/resources/.gitkeep | 0 sample_code/parent/.gitkeep | 0 sample_code/submodule_1/.gitkeep | 0 sample_code/submodule_2/.gitkeep | 0 sample_code/submodule_3/.gitkeep | 0 26 files changed, 366 insertions(+), 28 deletions(-) create mode 100644 sample_code/Eclipse 2022-09 Improvements/.classpath create mode 100644 sample_code/Eclipse 2022-09 Improvements/.project create mode 100644 sample_code/Eclipse 2022-09 Improvements/.settings/hello_ANSI.bat.launch create mode 100644 sample_code/Eclipse 2022-09 Improvements/.settings/org.eclipse.jdt.apt.core.prefs create mode 100644 sample_code/Eclipse 2022-09 Improvements/.settings/org.eclipse.jdt.core.prefs create mode 100644 sample_code/Eclipse 2022-09 Improvements/.settings/org.eclipse.m2e.core.prefs create mode 100644 sample_code/Eclipse 2022-09 Improvements/JDK sources (65,486 files)/README.md create mode 100644 sample_code/Eclipse 2022-09 Improvements/hello_ANSI.bat create mode 100644 sample_code/Eclipse 2022-09 Improvements/pom.xml rename sample_code/{AnsiConsole.java => Eclipse 2022-09 Improvements/src/main/java/com/example/AnsiEscapeCodes.java} (99%) create mode 100644 sample_code/Eclipse 2022-09 Improvements/src/main/java/com/example/Element.java create mode 100644 sample_code/Eclipse 2022-09 Improvements/src/main/java/com/example/ManifestReader.java rename sample_code/{ => Eclipse 2022-09 Improvements/src/main/java/com/example}/ToEnhancedFor.java (96%) rename sample_code/{ => Eclipse 2022-09 Improvements/src/main/java/com/example}/ToSwitchExpression.java (91%) create mode 100644 sample_code/Eclipse 2022-09 Improvements/src/main/resources/.gitkeep create mode 100644 sample_code/Eclipse 2022-09 Improvements/src/test/java/com/example/ElementTest.java create mode 100644 sample_code/Eclipse 2022-09 Improvements/src/test/java/com/example/ToEnhancedForTest.java create mode 100644 sample_code/Eclipse 2022-09 Improvements/src/test/java/com/example/ToSwitchExpressionTest.java create mode 100644 sample_code/Eclipse 2022-09 Improvements/src/test/resources/.gitkeep create mode 100644 sample_code/parent/.gitkeep create mode 100644 sample_code/submodule_1/.gitkeep create mode 100644 sample_code/submodule_2/.gitkeep create mode 100644 sample_code/submodule_3/.gitkeep diff --git a/README.md b/README.md index daa466b..9069938 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ [2019-06](https://github.com/howlger/Eclipse-IDE-improvements-videos/tree/2019-06) -# +++ Work in progress (for September 14, 2022) +++
Eclipse IDE 2022-09 Improvements Video +# [Eclipse IDE 2022-09 Improvements Video](https://youtu.be/eEXvOjtauxI) * [September 14, 2022](https://calendar.google.com/calendar/event?eid=MWlubzM1cWdzZjU2aHJnZTgxc2hscmsxb2ogZ2NoczdubTRudnBtODM3NDY5ZGRqOXRqbGtAZw&ctz=Europe/Berlin) ([calendar](https://calendar.google.com/calendar/embed?src=gchs7nm4nvpm837469ddj9tjlk@group.calendar.google.com&ctz=Europe/Berlin)) - [66 projects](https://projects.eclipse.org/releases/2022-09) ([-1 +0 → 66](projects_diff.txt)) - [wiki](https://wiki.eclipse.org/Category:SimRel-2022-09) - [website](https://eclipse.org/eclipseide/2022-09) ([New & Noteworthy](https://eclipse.org/eclipseide/2022-09/noteworthy)) - [splash screen](https://bugs.eclipse.org/bugs/show_bug.cgi?id=575781) * Builds: [latest unreleased](https://download.eclipse.org/technology/epp/staging/) → [released](https://download.eclipse.org/technology/epp/downloads/release/2022-09/) ([Jenkins](https://ci.eclipse.org/packaging/job/simrel.epp-tycho-build), [log](https://git.eclipse.org/c/simrel/org.eclipse.simrel.build.git/log/), update sites: [staging](https://download.eclipse.org/staging/2022-09), [release](http://download.eclipse.org/releases/2022-09)) @@ -55,7 +55,7 @@ ### Features to show -* **Java ** +* **Java [📽️](https://youtu.be/eEXvOjtauxI?t=16s)** * [Java 19 support via Marketplace](https://marketplace.eclipse.org/content/java-19-support-eclipse-2022-09-425) * By the way, Eclipse 2022-09 requires Java 17 and is shipped with latest Java 17(.0.4) * Cleanups: @@ -70,13 +70,13 @@ * ([Double click in _All References_ pop-up and _All Instances_ pop-up navigates to the type](https://www.eclipse.org/eclipse/news/4.25/jdt.php#doubleclick-in-debug-popups) (in the past, double click was ignored in those pop-ups)) * ([Performance](https://github.com/search?utf8=%E2%9C%93&q=performance+OR+speed+OR+faster+org%3Aeclipse-jdt+committer-date%3A2022-06-05..2022-09-10&s=committer-date&o=desc&type=Commits):) * (Performance test results tables are back on download page, e.g. for [4.25RC2](https://download.eclipse.org/eclipse/downloads/drops4/S-4.25RC2-202208311800/performance/performance.php)) - * Maven: + * Maven [📽️](https://youtu.be/eEXvOjtauxI?t=159s): * [Autocompletion for directory/file based properties](https://github.com/eclipse/lemminx-maven/issues/292), e.g. `../|` or `../|` * [Maven archiver support](https://github.com/eclipse-m2e/m2e-core/blob/master/RELEASE_NOTES.md#inclusion-of-maven-archiver-connector) (in the past, not shipped by default; now in [m2e core](https://github.com/eclipse-m2e/m2e-core/tree/master/org.eclipse.m2e.mavenarchiver)): creates `META-INF/MANIFEST.MF` based on the `pom.xml`'s `maven-jar-plugin` configuration * [Annotation processors support](https://github.com/eclipse-m2e/m2e-core/blob/master/RELEASE_NOTES.md#inclusion-of-m2e-apt-plugins-for-annotation-processors) (formally [JBoss Tools m2e-apt](https://github.com/jbosstools/m2e-apt)): disabled by default, can be enabled in the preferences _Maven > Annotation Processing_ or in `pom.xml` via the property `jdt_apt`; when enabled, _Project > Properties: Java Compiler > Annotation Processing_ will be automatically configured * (Embedded Maven updated from 3.8.4 to the latest version 3.8.6) * [Colored Maven log in _Console_ view](https://github.com/eclipse-m2e/m2e-core/blob/master/RELEASE_NOTES.md#support-for-colored-maven-console-printouts) (requires ANSI support to be enabled: see below) -* **General/Platform ** +* **General/Platform [📽️](https://youtu.be/eEXvOjtauxI?t=323s)** * [Support for ANSI escape codes in Console](https://www.eclipse.org/eclipse/news/4.25/platform.php#debug-ansi-support): preferences _Run/Debug > Console > ANSI Support_ (formerly [_ANSI Escape in Console_](https://marketplace.eclipse.org/content/ansi-escape-console) plugin by [Mihai Nita](https://github.com/mihnita)) * [System encoding for Console](https://www.eclipse.org/eclipse/news/4.25/platform.php#debug-system-encoding): in launch configuration in _Common_ tab * [Preference _General > Editors > Text Editors_: _Enable word wrap when opening an editor_](https://www.eclipse.org/eclipse/news/4.25/platform.php#enable-word-wrap-on-open) (word wrapping can be enabled/disabled per editor) @@ -88,7 +88,7 @@ * ([Forms with default background color](https://www.eclipse.org/eclipse/news/4.25/platform.php#form-no-gradients)) * ([Less usage of icons in user confirmation dialogs](https://www.eclipse.org/eclipse/news/4.25/platform.php#less-icons-in-user-dialogs)) * ([System theme removed](https://github.com/eclipse-platform/eclipse.platform.ui/commit/9328b2d43cea202deb96f1ce88d73dd39acaa99d)) -* (**Git **) +* (**Git**) * (_Git Staging_ view: [Show `core.commentChar` in a tooltip](https://git.eclipse.org/c/egit/egit.git/commit/?id=b8501646b447f0c7b0f7dc73569bc9e654ae58fa)) * **(Under development)** * ([Preferences: _Install/Update > Trust_](https://www.eclipse.org/eclipse/news/4.23/platform.php#manage-trusted-pgp-keys) (work in progress; [_rollout for 2022-06_](https://gitlab.eclipse.org/eclipse-wg/ide-wg/ide-wg.eclipse.org/-/issues/11))) diff --git a/intro_outro_thumbnail.svg b/intro_outro_thumbnail.svg index 7575cee..937a9b9 100644 --- a/intro_outro_thumbnail.svg +++ b/intro_outro_thumbnail.svg @@ -15,7 +15,7 @@ id="svg8" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" sodipodi:docname="intro_outro_thumbnail.svg" - inkscape:export-filename="C:\Users\Howlger\git\Eclipse-IDE-improvements-videos-extras\2022-06\Outro.png" + inkscape:export-filename="C:\Users\Howlger\git\Eclipse-IDE-improvements-videos-extras\2022-09\Thumbnail_2022-09.png" inkscape:export-xdpi="180" inkscape:export-ydpi="180"> image/svg+xml - + @@ -138,7 +138,7 @@ style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:5.87892px;line-height:20%;font-family:Khula;-inkscape-font-specification:'Khula Semi-Bold';text-align:start;text-anchor:start;fill:#f7941e;fill-opacity:1;stroke-width:0.108786px" y="25.454311" x="12.041815" - sodipodi:role="line">Eclipse 2022-03 + sodipodi:role="line">Eclipse 2022-06 Eclipse 2022-03 + sodipodi:role="line">Eclipse 2022-06 + width="50.381111" + height="9.7194605" + x="17.179045" + y="18.585068" + ry="0.23141564" /> 2022-062022-092022-06 + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:8.73479px;line-height:20%;font-family:Khula;-inkscape-font-specification:'Khula Semi-Bold'">2022-09