News

Java on Visual Studio Code Update Focuses on 'Inner Loop'

In its final post of 2021, the Java on Visual Studio Code dev team reports advancements made to improve the fundamental, day-to-day Java development experience: the "inner loop."

That's the grunt-work dev process: continually coding, building, tweaking, debugging, testing and so on in repeated cycles as a project takes shape, before it gets finalized and entered into a version control system or DevOps workflow implementation. It can be tedious, and any tweaks made to smooth things out -- even very little things -- are welcomed by developers everywhere.

"Inner-loop dev experience directly impacts developer's day-to-day productivity and this area will always be our top focus," said Nick Zhu, senior program manager, in a Dec. 15 post some of those little things. He specifically detailed three inner loop improvements:

  • Project Management -- Remove .project metadata files:This is a three-year-old issue where a developer complained "Every time I open a Java project, no matter Maven or Gradle, the extension always creates many .project .settings/ .classpath files in my project folder." It warranted its own blog post earlier this month: "Say goodbye to '.project' files in Language Support for Java 1.1.0." As the title of that post indicates, it pertains to the Extension Pack for Java, which includes that Language Support for Java extension by Red Hat. "We have good news for you," Zhu said in yesterday's post. "Visual Studio Code no longer generates those hidden '.project 'metadata files in the project path when you import a new Java project!"
  • Testing -- Navigating between tests and corresponding test subjects: Developers can now navigate between test and corresponding test subjects, useful when writing unit test cases.
    animated gif showing Navigating Between Tests and Corresponding Test Subjects
    [Click on image for larger, animated GIF view.] Navigating Between Tests and Corresponding Test Subjects in Animated Action (source: Microsoft).
  • Code Actions -- Generate constructors and override/implement methods: Code Actions provide refactorings and Quick Fixes for issues that are detected and highlighted with green squiggles, announced by a lightbulb icon near the source code when the cursor is on a squiggle or selected text region. Now, such lightbulbs appearing next to a Java class can generate constructors or override/implement methods.

The post also explains an investigation into character encoding issues and advice on how to handle problems resulting from Windows' platform-dependent charset (Llinux and macOS simply use the UTF-8 charset).

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube