From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Pull request code review

Pull request code review

Once your title and description are set, you're ready to submit the pull request. Usually this is where the waiting game begins. Your pull request goes to your team and you wait for them to find the time to review your logic, leave comments and suggest fixes. But before you send it off to your team, you can ask Copilot to take the first pass by clicking on this Copilot code review button. By using this feature, the AI acts as a second set of eyes, leaving comments and actionable suggestions directly on your code exactly like a human reviewer would. This way, if Copilot catches legitimate issues, you can update the files before submitting the pull request. This small step can save hours of back and forth feedback later. Now, unlike a general chat window, the code review UI is diff aware. It isn't just looking at your file, it's looking specifically at what you change compared to the main branch. This prevents the AI from giving you noise about old code that you didn't even touch. So…

Contents