Best Practices for Using Copilot

In this tutorial, we'll explore the best practices for using GitHub Copilot and highlight potential pitfalls to avoid. Emphasizing the importance of collaboration with Copilot, we'll showcase methods for combining Copilot's suggestions with your input or tools like the "Pick Locator" feature from the Playwright extension. We'll demonstrate creating a new class for the flight page using Copilot prompts and review its generated code for correctness and security. Additionally, we'll discuss the efficiency of using inline chat instead of comments for communicating with Copilot and provide insights into when to use different parts of Copilot effectively.

Resources

GitHub Repro

Comments are closed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}