AI Pair programming with GitHub Copilot

Key Takeaways

  • CoPilot can see both backward and forward of the code.
  • Add the related code in docstring or comments to give copilot more context to suggest. After verifying the suggestion, we can delete the docstring.
  • It is always a good idea to give a high-level idea to the copilot on what you are trying to build.

⚠️Disclaimer: All the screenshots, materials, and other media documents used in this article are copyrighted to the original platform or authors.