diff --git a/README.md b/README.md index 0f5f21e..08def89 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,11 @@ Go to VSCode `View | Command Palette | Preferences:Open User Settings | Extensio Please refer to [Java formatting preferences](https://github.com/oracle/javavscode/wiki/Java-formatting-preferences) wiki for more info. +## Hints Preferences +Easily update default hint preferences by adjusting a simple configuration option to tailor hint preferences to specific needs. + +Go to VSCode `View | Command Palette | Preferences:Open User Settings | Extensions | Java` and set `Jdk › Hints: Preferences:` option to the xml hint preferences file. + ## Organize Imports Out of the box support for organizing imports in Java sources is available. It removes unused imports, groups imports by packages and updates your imports whenever a file is saved. In addition to the defaults, there is a rich set of configuration options. @@ -170,6 +175,9 @@ following locations: As soon as one of the settings is changed, the Language Server is restarted. +## Disable the embedded nb-javac and use javac from the JDK +`View | Command Palette | Preferences:Open User Settings | Jdk > Advanced > Disable: Nbjavac` setting facilitates simpler experimentation with early access JDK builds. JDK early access builds can be specified in `jdk.jdkhome`, and nb-javac can be disabled, ensuring that the extension utilizes the javac from the early access build. + ## Running Language Server per VSCode workspace or for user It is possible to run Oracle Java Platform extension per workspace (VSCode window). This allows separation of Language Server for given project as Language Server JVM is not shared for more VSCode open workspaces (projects). It is possible to change this in `View | Command Palette | Preferences:Open User Settings | Jdk: Userdir`. Set to `local` to use dedicated Language Server per workspace or set to `global` to have one Language Server for all VS Code workspaces. diff --git a/vscode/CHANGELOG.md b/vscode/CHANGELOG.md index 6983cb0..bfe908d 100644 --- a/vscode/CHANGELOG.md +++ b/vscode/CHANGELOG.md @@ -24,6 +24,31 @@ --> +## Version 22.0.0 (April 28th, 2024) +### What's Changed + +### Enhancements +* [JAVAVSCODE-9] Disable hints according to user preference https://github.com/apache/netbeans/pull/6760 +* [JAVAVSCODE-110] Added option to delete workspace cache with respect to oracle java extension https://github.com/oracle/javavscode/pull/124 +* [JAVAVSCODE-123] Update to NetBeans 21 and JDK 22 javac support https://github.com/oracle/javavscode/pull/128 +* [JAVAVSCODE-131] Added JDK 22 GA download option in JDK downloader https://github.com/oracle/javavscode/pull/133 +* Adding an advanced option to disable the embedded nb-javac, hence use javac from the JDK https://github.com/oracle/javavscode/pull/130 +* Bump up axios 1.6.0 to 1.6.8 https://github.com/oracle/javavscode/pull/127 +* Bump up @vscode/debugadapter from 1.55.1 to 1.65.0 https://github.com/oracle/javavscode/pull/135 + +### Bugs +* [JAVAVSCODE-29] vscode reports a need to upgrade Gradle to an earlier version for JDK-21 https://github.com/apache/netbeans/pull/6807 +* [JAVAVSCODE-30] Fixed refactoring of pom.xml as well on renaming class name https://github.com/oracle/javavscode/pull/120 +* [JAVAVSCODE-95] Fixed false error thrown if parent pom version uses variable https://github.com/oracle/javavscode/pull/125 +* Fix readme urls vscode https://github.com/oracle/javavscode/pull/121 + +### Other Changes +* [JAVAVSCODE-137] Updated Third party licenses related to Node JS third party dependencies https://github.com/oracle/javavscode/pull/138 +* Removing (unused) DB support from netbeans side https://github.com/oracle/javavscode/pull/112 +* Removed db support from frontend as well https://github.com/oracle/javavscode/pull/129 + +**Full Changelog**: https://github.com/oracle/javavscode/compare/v1.0.1...v22 + ## Version 1.0.1 (February 22nd, 2024) ### What’s Changed diff --git a/vscode/README.md b/vscode/README.md index 2090254..6d9445a 100644 --- a/vscode/README.md +++ b/vscode/README.md @@ -127,6 +127,11 @@ Go to VSCode `View | Command Palette | Preferences:Open User Settings | Extensio Please refer to [Java formatting preferences](https://github.com/oracle/javavscode/wiki/Java-formatting-preferences) wiki for more info. +## Hints Preferences +Easily update default hint preferences by adjusting a simple configuration option to tailor hint preferences to specific needs. + +Go to VSCode `View | Command Palette | Preferences:Open User Settings | Extensions | Java` and set `Jdk › Hints: Preferences:` option to the xml hint preferences file. + ## Organize Imports Out of the box support for organizing imports in Java sources is available. It removes unused imports, groups imports by packages and updates your imports whenever a file is saved. In addition to the defaults, there is a rich set of configuration options. @@ -164,6 +169,9 @@ following locations: As soon as one of the settings is changed, the Language Server is restarted. +## Disable the embedded nb-javac and use javac from the JDK +`View | Command Palette | Preferences:Open User Settings | Jdk > Advanced > Disable: Nbjavac` setting facilitates simpler experimentation with early access JDK builds. JDK early access builds can be specified in `jdk.jdkhome`, and nb-javac can be disabled, ensuring that the extension utilizes the javac from the early access build. + ## Running Language Server per VSCode workspace or for user It is possible to run Oracle Java Platform extension per workspace (VSCode window). This allows separation of Language Server for given project as Language Server JVM is not shared for more VSCode open workspaces (projects). It is possible to change this in `View | Command Palette | Preferences:Open User Settings | Jdk: Userdir`. Set to `local` to use dedicated Language Server per workspace or set to `global` to have one Language Server for all VS Code workspaces.