News

VS Code Tool Supports Java 12, Adds Java Code Actions and Features

Visual Studio Code tooling has been updated with support for Java 12, new code actions, new debugging features, Maven enhancements and more.

Those goodies come with the Java Extension Pack, comprising a number of extensions ranging from Red Hat's language support to Java Test Runner to Visual Studio's AI-assisted IntelliCode among several others.

Available on the Visual Studio Code Marketplace, the extension pack has been installed nearly 1.7 million times.

In the April update to the tool, announced May 1, the dev team announced support for Java 12, which debuted in March.

"Java is now updating with a faster pace and we're following closely," said Xiaokai He in a blog post. "Thanks to the upstream update from JDT [Eclipse Java development tools], you can build your project with Java 12 features now with VS Code as well."

Other new features include: functionality to ease the getting-started process; performance improvements; new code actions to resolve ambiguous imports, generate toString() and more; a tweak to enable the debugger to show the logical structure of lists and maps, instead of the physical layout of the collections, along with several others; and Maven updates including customized commands, showing dependencies in a tree view and more.

Performance improvements include:

  • Improved editing performance when dealing with large amount of source file opened in the editor
  • Optimize start up and load time with better server initialization and lazy downloading Java source

"As we try our best improving performance, it would still take some time when importing a big Java project to Visual Studio Code," Xiaokai He said. "In this case, it would be helpful to show more progress details and let you know what's actually happening behind the scene. Instead of just showing the percentage of progress, we now added detailed step information into the status, such as inspecting location, configuring project, updating Maven dependencies, refreshing workspace and build workspace to let you know the wait is meaningful."

Microsoft's Java in Visual Studio Code site says the tooling for the ever-popular programming language:

  • Is fast and lightweight, free, and open-source
  • Supports multiple, or all the programming language developers use
  • Helps start a Java journey without installing and learning a complex IDE
  • Provides great microservices support including popular framework, container tooling and cloud integration
  • Improves productivity through smartness and collaboration features

The Java Extension Pack is still in preview and so far has received an average 4.1 rating (scale to 5) from 15 developers who reviewed it.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube