Monday, July 8, 2024

Java on Visual Studio Code Update – June 2024

Java on Visual Studio Code Update – June 2024

Java on Visual Studio Code Update – June 2024 

Hi everyone, welcome to the June update for Visual Studio Code for Java! In this blog we are going to share several user experience updates, as well as important Spring features improvements, so let’s get started!

Project Settings Page Enhancements

New Compiler Section

A new compiler section was added to the project settings page. This allows you to conveniently set Java compiler related options for your project. Currently the options include source and target compatibility, –release option for cross compilation and customization for class file generation. See the screenshot below for the compiler section.

Hi everyone, welcome to the June update for Visual Studio Code for Java! In this blog we are going to share several user experience updates, as well as important Spring features improvements, so let’s get started.

Maven Section

In addition to compiler sections, we have also added a Maven section so that developers can easily point to active Maven profiles. Developers just need to click on “Maven” and enter the Maven profile names.

Maven

Formatter Section

Finally, many developers need to use a formatter for their code. We have added a shortcut for using the formatter in the project section as well. After clicking on “Formatter”, Visual Studio Code Java will take the developer to the formatter view. If the developer does not have a formatter currently, Visual Studio Code Java will ask the developer to create a formatter directly. See the demo below.

Easier access to project settings page

Since we introduced the updated project settings page, we have received positive feedback from the developers. Therefore, we have made the project settings page to be more accessible, now you can directly get to the page from status bar using Java status menu. See the screenshot below.

Status bar project page

To see all the features above, developer can either use the status bar mentioned above, or directly just use Command Palette and type Java: Open Project Settings.

Testing Coverage

We have a new video that talks about how to use the new Testing Coverage features in Visual Studio Code Java. This allows Java developers to easily run tests with coverage in Visual Studio Code.

No comments:

Post a Comment

Semiconductor Recycling: Addressing E-Waste Challenges

Semiconductor Recycling: Addressing E-Waste Challenges The increasing demand for electronic devices, from smartphones to electric cars, has ...