News

Visual Studio 2019 v16.7 Preview 4 Boosts Git, Offers Razor Editor

Visual Studio 2019 version 16.7 Preview 4 arrived this week, sporting boosted Git productivity and an experimental Razor editor for creating Blazor and other projects.

For more on the Razor editor, see this article.

Git productivity, meanwhile, has been improved in a number of ways since changes to the distributed version-control system for tracking changes in source code were announced in March.

Among the new Git functionality is an improvement to resolve merge conflicts, for situations when Git can't automatically resolve code differences between two commits.

For example, there's a new prompt to open the Merge Editor in certain circumstances when a file contains conflicts, such as when the Git Changes window isn't open and developers only see a file with conflict indicators.

The Merge Editor also received several other enhancements:

  • The team changed the legacy TFVC terminology of Source and Target to Incoming and Current with a strong emphasis on the branch name, addressing a constant point of confusion
  • Incoming and Current also each have a new checkbox to take all changes from either version with a single click
  • The Merge Editor now makes it easier to parse conflicts by better aligning matching lines, displaying word level differences, and making differing whitespace visible
  • The team also reduced the clutter around the zoom margin, health margin, and toolbar
  • Developers can turn off non-conflicting differences to just focus on the conflicts
  • If developers don’t need the horsepower of the Merge Editor, such as in Add/Add conflicts, they can now resolve those at the file level with a two-way merge
The Merge Editor experience in animated action
[Click on image for larger, animated GIF view.] The Merge Editor experience in animated action (source: Microsoft).

Developers also can view outgoing commits in the Git Repository window. All of the new Git functionality is explained in more detail in a July 9 blog post.

The Test Explorer also received some attention, getting a new Run/Debug All Tests In View, replacing the Run All Tests and Debug All Tests command items.

"The Global Run/Debug All commands will now only appear in the top-level Test menu," Microsoft added in the release notes. "They are no longer included in the Test Explorer toolbar or context menu of any test window view. When triggered from the Test Explorer, the Analyze Code Coverage for All Tests now applies to the test window views as well."

There's also a bunch of new short-cut keys to remember (good luck) and improvements to C++ coding, some of which was detailed in Preview 3.

The release notes also list 12 different fixes from the developer community.

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