News

After Slowness Complaints, Microsoft Boosts Code Completion in VS Code Java Tooling

Microsoft's June update to its Java tooling in Visual Studio Code focuses on enhancing code completion performance, improving user experience in unit testing and project creation, and introducing new project types.

Here's a rundown of those three focus points from the team, which manages the Extension Pack for Java in the code editor's marketplace.

[Click on image for larger view.] Java Extension Pack (Preview) (source: Microsoft).

Code Completion Performance Improvement
The dev team responded to user complaints about slow code completion by researching how to speed it up. Preliminary results indicate a notable reduction in latency, with version 1.19 pre-release demonstrating significant improvements compared to version 1.16. Specifically, the results show latency reductions ranging from 32 percent to 56 percent under varied experiences.

The team will more fully discuss the results in a later post and plans a series of performance updates to be enacted over the next few months.

Support for postDebugTask in Test Runner for Java
The Test Runner for Java, one of the individual extensions in the Java Extension Pack, now includes support for the postDebugTask attribute. This new feature allows developers to launch a task at the end of a debug session, which can help with performing cleanup tasks after unit testing, such as database cleanups. Developers can configure the task in the Settings.json and Tasks.json files to improve the overall testing experience.

Introduction of New Project Types in Project Manager
Thanks to community contributions, the Project Manager for Java can now create Micronaut and Graal Cloud Native Projects using either the command palette (Java: Create Java Project) or the dedicated "Create Java Project" button, providing appropriate corresponding extensions are installed.

Extension Pack for Java
Still in the preview stage, this bundles six tools together, ranging from language support provided by a Red Hat extension to offerings for debugging, testing, IntelliCode and more. It has been installed some 20.3 million times, earning an average 3.9 rating (0-5 scale) from 62 developers who reviewed it.

More information can be found in the "Java on Visual Studio Code -- June 2023" blog post published June 29.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

  • TypeScript Tops New JetBrains 'Language Promise Index'

    In its latest annual developer ecosystem report, JetBrains introduced a new "Language Promise Index" topped by Microsoft's TypeScript programming language.

Subscribe on YouTube