Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I review a PR assigned to me in VS 2022

A team member has assigned me a large PR to review in our github repo. I'd like to be able to review it/ comment on it / approve it from within Visual studio.

I am using VS 2022, in previous editions there was a PullRequest option in the github pane of the team explorer. Thats gone away in 2022 and I cant find an option to work the PR assigned to me within the new VS ide.

like image 283
cdarrigo Avatar asked Jan 21 '26 16:01

cdarrigo


2 Answers

This isn't currently available in Visual Studio 2022, even though Microsoft claims that all of the functionality from GitHub Extension for Visual Studio was incorporated into VS2022. The ability to view the list of pull requests and review them inside of VS2022 is not there.

We currently keep 2019 with the GitHub Extension for Visual Studio installed just to perform PR reviews because the GitHub web experience is relatively terrible for any non-trivial reviews, in our opinion.

like image 94
competent_tech Avatar answered Jan 23 '26 21:01

competent_tech


To further document the current state of affairs, here's some related info.

This feature used to exist under the extension Pull Requests for Visual Studio for VS 2019 as announced in this blog post. And the GitHub Extension for Visual Studio worked for VS 2015, 2017, and 2019.

Both extensions are still available to view a pull request for Visual Studio 2019?

The original extension was deprecated in 2021 and announced in the the post Where Are My Favorite Extensions in Visual Studio 2022? where it was announced that extension would now be a native feature within the IDE for VS 2022.

This feature comparison of the Git experience to Team Explorer in Visual Studio 2019 includes the side by side differences, but Pull Requests are noticeably absent from the comparisons.

Here's the current marketing page for the github integration and Visual Studio version control docs.

The extension is currently developed in the github/VisualStudio repo which currently has two open tickets requesting the feature:

  • Issue #2634 · Will there be support for VS 2022 preview?
  • Issue #2660 · Support VS2022

This has also spawned several requests in Microsoft's Developer Community feedback forums:

  • Full integration of Pull Requests in VS2022
  • Bring all GitHub extension features to Visual Studio 2022
  • create and edit GitHub issues and Pull Requests

Interestingly, the documentation in the repo on reviewing-a-pull-request-in-visual-studio.md does showcase the previous ability to view pull requests, but appears to be out of date, since the feature no longer works.

Alternatively, this feature does work in the GitHub Pull Requests and Issues for VS Code, but not Visual Studio

TLDR; This doesn't exist in VS 2022 today, but if you'd like to see it, go vote on those issues and feedback tickets

like image 34
KyleMit Avatar answered Jan 23 '26 20:01

KyleMit



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!