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

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • 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.

Subscribe on YouTube