What’s New in VS Code for Java June 2024? Project Settings, Spring & Gradle Updates

The June 2024 VS Code for Java update introduces enhanced project settings with new compiler, Maven, and formatter tabs, easier access via the status bar, test coverage improvements, Gradle Build Server projects, Spring feature upgrades including @DependsOn support and Spring Boot 3.3 compatibility, and new extension packs for Java development.

Programmer DD
Programmer DD
Programmer DD
What’s New in VS Code for Java June 2024? Project Settings, Spring & Gradle Updates

June 2024 VS Code for Java Update

Welcome to the June update of Visual Studio Code for Java, featuring major enhancements to the project settings page and a suite of Spring improvements.

Project Settings Page Enhancements

Compiler Configuration

A new Compiler Configuration tab has been added, allowing you to set Java compiler options such as source and target compatibility, the --release flag for cross‑compilation, and custom class file generation.

Maven Options

A new Maven tab lets users quickly point to a Maven configuration file by clicking “Maven” and entering the file name.

Formatter Configuration

Users can now access the Formatter view directly from the project settings. If no formatter file exists, VS Code for Java will guide the user to create one.

Easier Access to Project Settings

The project settings page can now be opened directly from the Java status menu in the status bar or via the Command Palette with >Java: Open Project Settings.

Test Coverage Update

A video demonstrating how to view test coverage in VS Code for Java is now available.

Gradle Build Server Projects

Two Google Summer of Code projects are being guided by the VS Code Java team:

Gradle Build Server – Android support (developer: Tanish Ranjan)

Gradle Build Server – Development experience and language support in Buildship (developer: Sidhaarth Saraswathi Ramalingam)

The Gradle Build Server project was open‑sourced in 2023 and welcomes community contributions.

Spring Feature Updates

Install the Spring Boot Extension Pack to access new features, including:

@DependsOn support for navigation and code completion of bean dependencies.

Validation of JPQL and HQL queries in @Query annotations, with configurable severity levels.

Upgrade assistance for Spring Boot 3.3 using OpenRewrite.

Extension Packs

To use all new features, install the Extension Pack for Java from the VS Code Marketplace.

Spring developers can also install the Spring Boot Extension Pack for a dedicated Spring Boot development experience.

Feedback and Resources

Feedback is encouraged via a Chinese questionnaire, GitHub issues, or email. Additional resources include documentation and tutorials on Java in VS Code.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

JavaspringGradlemavenVS CodeExtension Pack
Programmer DD
Written by

Programmer DD

A tinkering programmer and author of "Spring Cloud Microservices in Action"

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.