News

Spring Functionality, Debugging Improved in Java on VS Code Update

The regular monthly update to Java on Visual Studio Code sees multiple improvements to Spring functionality along with a couple community contributions that enhance debugging.

The dev team maintains Java tools available in the code editor's marketplace, including the Extension Pack for Java, which has been installed nearly 14.5 million times. The Spring Framework, meanwhile, is a Java platform that is also popular, providing comprehensive infrastructure support for developing Java applications.

In the August 2022 update, the team provided a better getting-started experience for Spring Initializer, which is used to create a new project, in part by generating a HELP.md file that provides useful information for coders looking to get started with Spring.

"Previously, many developers would not realize this file was there or it was simply ignored," said Microsoft's Nick Zhu in an Aug. 25 announcement. "It would be helpful if this file can be automatically opened in Visual Studio Code. This feature is added recently so that Spring developers can have a more smooth getting started experience."

To use the new features, developers need to install the Spring Boot Extension Pack in addition to the Extension Pack for Java.

Using the new Spring Initializer feature is illustrated in this animated GIF:

Using Spring Initializer in Animated Action
[Click on image for larger view.] Using Spring Initializer in Animated Action (source: Microsoft).

Another new feature affects Spring beans, which are objects that form the backbone of an application, managed by the Spring IoC container.

"When developer starts a Spring app from the Spring dashboard, just wait for the beans to connect to the live process and go 'green,' then the bean property information will automatically appear right next to the bean name," Zhu said. "You will see if the bean is a singleton, prototype and so on. If a bean is defined by developer and not by Spring framework, you will also see 'defined' as well."

Microsoft also beefed up functionality for Maven and Gradle. Maven allows a library consumer to override a dependency by version. Gradle, often used with Maven, supplies customizable dependency selection and substitution rules, which can help developers handle unwanted project-wide dependencies.

"We have heard from developers that they want better Maven and Gradle integration in our extensions, and this is one of the areas we will keep working on," Zhu said. "In our latest release, we have added Maven and Gradle menu items in our Java Project Explorer so that developers can directly access certain actions in a more convenient way. To use this feature, developers just need to right click on an application node inside the Java Project Explorer view in a Maven or Gradle project and find the actions at the bottom of pop up menu."

On the debugging front, the two community contributions improve support for method breakpoints and also show target VM exceptions as result in evaluate requests.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Microsoft Highlights Visual Studio Live! Event Lineup and Longtime Developer Community Role

    A Microsoft MVP Blog post on Visual Studio Live!'s longevity arrives as the 2026 conference series continues with upcoming stops at Microsoft HQ, San Diego and Orlando.

  • Using Local AI to Cut Copilot Usage-Based Billing Shock

    After being gobsmacked by the new billing plan using almost all my monthly credits in one or two days, I tried pushing some Copilot-style coding work onto local models in VS Code. What I found was less "free AI" and more "pick your pain": cloud charges on one side, heavy local resource use and long waits on the other.

  • .NET 11 Preview 5 Focuses on Performance, Productivity and Safer Code

    .NET 11 Preview 5 focuses on under-the-hood runtime performance gains, streamlined APIs and language features that reduce boilerplate, plus built‑in security checks and incremental ASP.NET Core and EF Core improvements aimed at everyday developer productivity.

  • VS Code 1.124 Focuses on Agent Autonomy and Parallel Sessions

    Microsoft's June 2026 VS Code update turns on Autopilot by default and adds background sending for agent sessions.

Subscribe on YouTube