News

VS Code Java Team Improves 'Getting Started' Experience

Microsoft's dev team responsible for the Java on Visual Studio Code extensions released a new update that eases the "getting started" experience, addressing feedback from new users who want an easier onramp.

Support for Java in Visual Studio Code is provided through a wide range of extensions, many of which are bundled in the Java Extension Pack.

"Sometimes, you don’t know which extensions to install per your project type, or sometimes, you don’t know where to find familiar commands for project management," said Yaojin Yang, senior program manager in the Developer Division at Microsoft, in an August 12 blog post. "Whether you are a student or professional developer, we understand how important getting started experience is, especially when exploring or adopting a new tool or undertaking a new task."

To that end, the team introduced two new features:

  • Project view: This provides a single view of all project management-related functions so developers can more easily organize and configure assets such as dependencies, set up environments and so on.

    Exporting to JAR in Action
    [Click on image for larger, animated GIF view.] Exporting to JAR in Action (source: Microsoft).

    The new view is actually provided via the old Java Dependency Viewer extension, which has been renamed the Project Manager for Java extension and updated with two new features for creating Java projects and exporting to JAR.

  • Extension Guide: "Extension Guide is an embedded portal that maintains a list of curated extensions, and recommends and facilitates extension installation per your needs," Yang said. "Recommendations are categorized into Basics, Frameworks, Application Servers, and Keymaps. Please check out the Extension Guide by running command 'Java: Extension Guide' or 'java.extGuide' using the command palette."

The latest work to ease the "getting started" with Java experience in VS Code continues an ongoing effort that was exemplified by an update last year that sought to do the same thing via a quick start guide and other functionality invoked with the command: Java:Getting Started.

Debugging Java code has also been improved with support for "Just My Code," which instructs the debugger to only step through user code as opposed to system, framework and other non-user-code calls.

Another new Java debugging improvement introduces new functionality within the variables viewlet:

  • Return value of a method
  • Copy value
  • Copy as expression
  • Add to watch

A few other improvements mentioned by Yang include:

  • Go to Super Implementation
  • Refactoring helper
  • Lightweight mode improvements

Microsoft guidance on programming with Java in VS Code includes the tutorial, "Getting Started with Java in VS Code."

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • IDE Irony: Coding Errors Cause 'Critical' Vulnerability in Visual Studio

    In a larger-than-normal Patch Tuesday, Microsoft warned of a "critical" vulnerability in Visual Studio that should be fixed immediately if automatic patching isn't enabled, ironically caused by coding errors.

  • Building Blazor Applications

    A trio of Blazor experts will conduct a full-day workshop for devs to learn everything about the tech a a March developer conference in Las Vegas keynoted by Microsoft execs and featuring many Microsoft devs.

  • Gradient Boosting Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the gradient boosting regression technique, where the goal is to predict a single numeric value. Compared to existing library implementations of gradient boosting regression, a from-scratch implementation allows much easier customization and integration with other .NET systems.

  • Microsoft Execs to Tackle AI and Cloud in Dev Conference Keynotes

    AI unsurprisingly is all over keynotes that Microsoft execs will helm to kick off the Visual Studio Live! developer conference in Las Vegas, March 10-14, which the company described as "a must-attend event."

  • Copilot Agentic AI Dev Environment Opens Up to All

    Microsoft removed waitlist restrictions for some of its most advanced GenAI tech, Copilot Workspace, recently made available as a technical preview.

Subscribe on YouTube