VS Code Java Update Continues Performance Improvement

Microsoft has shipped the April 2020 update to the Java extension for its open-source, cross-platform Visual Studio Code editor, continuing a performance improvement effort.

"If you've followed our update last month, we've enabled parallel dependency download to improve project loading performance as well as syntax mode," said program manager Xiaokai He in an April 30 announcement post. "In this release, we've enabled syntax server for all project. You will be able to see the big difference on how fast you can do code navigation after opening a new project." That is illustrated in this graphic:

Performance Boost in Animated Action
[Click on image for larger, animated GIF view.] Performance Boost in Animated Action (source: Microsoft).

The new update to the Java tool also supports Java 14, released last month.

Other updates include:

  • Semantic Highlighting: "This month, VS Code Java brings semantic highlighting which enriches the syntax coloring based on symbol information from Java language service that has the full understanding of the project."
  • Create New Class from File Explorer: When using File Explorer to create a .java file, the Java language server will generate the body of the class and provide package information. This also works with interfaces, enums and records.
  • Rename Refactoring and Preview: Speaking of File Explorer functionality, it can now also do rename refactoring, giving developers the opportunity to preview the changes before enacting them.

Other improvements include:

  • Improved support for Gradle projects
  • Improved organize import to resolve static imports and asterisk (*) wildcard character.
  • New extension from Red Hat, Community Server Connectors brings better support for Apache Felix, Karaf and Tomcat
  • Skipped tests can be toggled out in the test report
  • New documents are added to our official site

Java tooling is provided through various VS Code extensions, which can be downloaded together with the Java Pack Installer from Microsoft's Java in Visual Studio Code page.

The Java Extension Pack is available in the editor's marketplace. The package of six different extensions has been downloaded nearly 4.2 million times. Still marked by a "Preview" flag, it has earned an average 4.1 (scale to 5) rating from 23 developers who reviewed it.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus


  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube