githubpull-requestvisual-studio-2022

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.


Solution

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

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

    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