The February update to Java in Visual Studio Code feature highlights the easier management of project code dependencies and upgrades to extensions for popular Java frameworks and runtimes.
Various VS Code extensions are available to provide Java tooling that can be downloaded from the Visual Studio Code Page together with Java Pack Installer.
The February update focuses on helping developers, including enhancements, in the battle against Java Dependencies and development kits (JDKs).
“Whether your use any build tool or not, Java Dependency Viewer now provides you an easy way to deal with your dependencies,” said Xiaokai He, senior program manager for Java on Visual Studio Code and Azure, in a Feb. 19 blog post.
For example, developers can use Maven’s build automation tool to quickly click a ‘ + ‘ button to attach a dependency to the projects while the experience with binary jars connection in local file system in projects without build tools such as Maven and Gradle is identical.
The Update introduces a new Java.configuration.runtimes preference mapping for Java execution environments in order to set up local JDK runtimes for developers with multiple Java runtimes. The code editor automatically defines and selects the appropriate configuration for the runtime required for your project.
These above extensions that provide Java with open-source, cross-platform editing features have also been upgraded by themselves.
“If you’re working with popular Java Frameworks such as Spring Boot and MicroProfile, Visual Studio Code has you covered as well,” He said. “Below are some exciting new capabilities now available with those extensions
- Spring Boot Tools now reports connection failures in live hover.
- Newly released MicroProfile Extension Pack now includes MicroProfile Starter for you to quickly generate a MicroProfile Maven project along with development tools for runtimes such as Open Liberty and Quarkus with lots of new features.
- If you’re working with any Red Hat server and runtime products such as Wildfly or JBoss, checkout Server Connector which allows you to start, stop and deploy to any of them.”
New code behavior, a debugger tweak which adds a popup menu for other threads and other improvements are also provided.