April 19th, 2022
0 reactions

Java on Visual Studio Code Update – April 2022

Senior Program Manager

Hi everyone, welcome to the April update of Visual Studio Code Java. This time we are bringing you many exciting updates regarding our fundamental experience improvement including Java 18 support, inlay hints for parameter names, new language server status UX, lambda expression support in debugging and so on. Let’s get into it.

Microsoft JDConf

Before we start our update, we want to share an exciting news: Microsoft JDConf is coming up! Join us for the second JDConf event on May 4 – 5, 2022. It is a virtual, Java focused conference where developers can come together to share interesting topics and stay engaged. Our goal with this event is to highlight external speakers and showcase the great work that’s going on across the Java community. You can get more information and register via this link: https://aka.ms/jdconf

Java 18 Support

We have always been targeting to support the latest Java technology. With Java 18 reaching General Availability in March this year, we have enabled the support for Java 18 in our latest version as well. This means you can now use Java 18 in your projects!

Support Inlay Hints for Parameter Names

Have you ever wondered about which parameter you are filling for in some unfamiliar methods? Don’t worry, Inlay Hints is here to help you. In our latest release, we have enabled this feature for Java projects. Once enabled, Visual Studio Code will show a hint on the parameter name in the method signature, and there are three modes of this feature.

  • none (Disable parameter name hints)
  • literals (Enable parameter name hints only for literal arguments) (Default)
  • all (Enable parameter name hints for literal and non-literal arguments)

You can change this setting at any time by going to the “inlay” setting under Java