VS Code: Now creating pull requests
Create and manage pull requests in VS Code.
The GitHub Pull Requests extension in VS Code allows you to manage your pull requests directly from your IDE. Over the past months the team has added even more enhancements to pull request functionality. Using the latest version, you can now create pull requests, leave suggested edits as a comment, and view status checks for each pull request.
Create pull requests
To create pull requests in VS Code, hover over the GitHub Pull Requests
title and click the +
sign. Choose the target branch for the pull request, press enter, and relax—you’ve opened your pull request.
Suggested edits
Provide suggested code edits and leave them as comments with a diff that shows the current code alongside your suggested changes. The suggestions can easily be applied by selecting Apply Patch to commit the new patch of code.
You also have the option to stage all suggested changes when changes have not yet been staged.
Display status checks
Once you create a pull request, status checks will appear in the description. You can now view the progress of each check that was integrated: passing, failing, and in-progress.
Give the latest extension a try
Visit the VS Code Pull Requests Repository to view release notes and download the latest release package. Don’t forget, you can always install or update the latest version directly from inside of VS Code.
Tags:
Written by
Related posts
Celebrating the GitHub Awards 2024 recipients 🎉
The GitHub Awards celebrates the outstanding contributions and achievements in the developer community by honoring individuals, projects, and organizations for creating an outsized positive impact on the community.
New from Universe 2024: Get the latest previews and releases
Find out how we’re evolving GitHub and GitHub Copilot—and get access to the latest previews and GA releases.
Bringing developer choice to Copilot with Anthropic’s Claude 3.5 Sonnet, Google’s Gemini 1.5 Pro, and OpenAI’s o1-preview
At GitHub Universe, we announced Anthropic’s Claude 3.5 Sonnet, Google’s Gemini 1.5 Pro, and OpenAI’s o1-preview and o1-mini are coming to GitHub Copilot—bringing a new level of choice to every developer.