Java Visual Studio Code Extension Update

We are excited to announce that Oracle’s Java Visual Studio Code extension version 22.1.2 is released and available in the Visual Studio Marketplace!

What’s new in this release?

This release continues to support the early-access builds of OpenJDK 23, offering capabilities designed to enhance your development experience.

Key changes of this update are multiple bug fixes that include, but are not limited to, ensuring Source Actions work correctly and adjusting the behavior of the Run Configuration panel when there is no workspace. In the absence of a workspace, such as for projects with a single-source Java file, the Run Configuration panel is now displayed, and you can update it via Quick Fix actions.

Additional enhancements include:

  • support @SuppressWarnings annotations for unused code constructs instead of continuing to highlight compiler warnings as hints,
  • support for uncommon JavaDoc inline tags, like {@index ...} or {@summary ...}, instead of producing incorrectly formatted block tags,
  • display a constructor’s JavaDoc when hovering over its instantiation.

You can download the extension from the Visual Studio Code Marketplace and check the changelog for additional details. If you have automatic updates enabled in Visual Studio Code, the code editor will auto-update the extension as soon as a release becomes available.