News

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 at Converge 360.

comments powered by Disqus

Featured

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events