News

Visual Studio 2022 Previews Instant Pull Requests, Better File Comparisons

Visual Studio 2022 17.7 Preview 2 has shipped with a raft of improvements that include community-driven features such as improved file comparisons and instant pull requests from within the IDE.

Improved File Comparisons
Improved file comparisons was a top vote-getter on Microsoft's Developer Community feedback site, which logs bug reports, feature requests and so on. Posted way back in 2018, the submission "Is there a way to compare two files from solution explorer?" says: "I want to highlight two files and compare them, without having to use the compare dialog and browse to paths. Is there a way to do this?" It has garnered a whopping 538 votes to date.

[Click on image for larger view.] Improved File Comparisons (source: Microsoft).

Microsoft introduced two new file compare options in v17.7 Preview 1 and for Preview 2 announced the following options were now available:

  • Multi-selecting two files by holding down the Ctrl button then right-clicking and pressing "Compare Selected" from the context menu (New in 17.7 Preview 2)
  • Right-clicking on a single file, pressing "Select for Compare" from the context menu. Navigating to the second file in Solution explorer, right-clicking on the second file and pressing "Compare with {file1}" (New in 17.7 Preview 1)
  • Right-clicking on a single file, pressing "Compare With..." from the context menu which will bring up File Explorer. Navigating to any file on disk and selecting it for comparison (New in 17.7 Preview 1)

Instant Pull Requests
Another popular Developer Community request, Create a pull request in Visual Studio with new Git UX, took a much shorter route to realization, having been submitted just last month (as opposed to 2018) and now showing 252 votes.

[Click on image for larger view.] Create a Pull Request from Visual Studio (source: Microsoft).

The feature was deemed so important that Microsoft devoted an entire blog post to it this week, "Announcing Create a Pull Request in Visual Studio."

"We heard from you that you can do 90 percent of your development workflow in Visual Studio, but then need to rely on the web to create your pull requests," Microsoft said. "We're continually bringing productivity enhancements to Visual Studio and are excited to announce that as of 17.7 preview 2 release. You can now create a pull request without leaving the development environment."

The dev team plans on furthering the feature with next steps including:

  • Allowing users to add reviewers and required reviewers
  • Markdown support for the description box
  • Viewing and tracking your pull requests inside Visual Studio

Improved pull request functionality has long been a focus point of Microsoft and Microsoft-owned GitHub across various tooling, including Visual Studio Code, as evidenced by these articles dating back to 2014:

Other highlights of VS 2022 v17.7 Preview 2, along with links for more information, include:

IDE Productivity & Performance

.NET Development

C++ and Game Development

Linux and Embedded Development with C++

JavaScript and TypeScript Development

Enterprise Management

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Using Local AI to Cut Copilot Usage-Based Billing Shock

    After being gobsmacked by the new billing plan using almost all my monthly credits in one or two days, I tried pushing some Copilot-style coding work onto local models in VS Code. What I found was less "free AI" and more "pick your pain": cloud charges on one side, heavy local resource use and long waits on the other.

  • .NET 11 Preview 5 Focuses on Performance, Productivity and Safer Code

    .NET 11 Preview 5 focuses on under-the-hood runtime performance gains, streamlined APIs and language features that reduce boilerplate, plus built‑in security checks and incremental ASP.NET Core and EF Core improvements aimed at everyday developer productivity.

  • VS Code 1.124 Focuses on Agent Autonomy and Parallel Sessions

    Microsoft's June 2026 VS Code update turns on Autopilot by default and adds background sending for agent sessions.

  • Developing Agentic Systems in .NET: From Concept to Code

    ZioNet founder Alon Fliess previews his Visual Studio Live! San Diego session on building true agentic systems in .NET -- covering the cognitive loop, MCP tool integration, multi-agent orchestration and enterprise hosting and governance with the Microsoft Agent Framework.

Subscribe on YouTube