Having used AI tool GitHub Copilot for a year, I realized that learning GitHub Copilot is like learning any software. The more you use it, the better you will be. Overall, my experience with GitHub Copilot was very positive. GitHub Copilot helped me boost my productivity and happiness of the software development.
Here are a few tips to become a better software developer boosted by GitHub Copilot or any Artificial Intelligence tools.
- Open the relevant
files.
- Provide specific
comments.
- Reference code
using #file.
- Generate model
class from the database.
- Generate multiple
classes in one prompt.
- Write the prompt incrementally.
- Reuse previous
prompts. Give specific instructions.
- Don't start a
new session. Previous prompts will be gone.
- Don't expect AI
gives you the same result every time.
- Double check the
result. GitHub Copilot could have bugs.
- Generate the commit description with GitHub Copilot.
- Generate the PR description with GitHub Copilot
- Explain the commit with GitHub Copilot
- Explain the PR with GitHub Copilot
- Suggest the fix from GitHub Copilot
- Fix the unit tests related to the recent changes using GitHub Copilot
GitHub Copilot is easy to use in Visual Studio. It’s a delight to see Copilot’s suggestions. The time saved for the developers justifies the cost. GitHub Copilot and Jetbrains Resharper are complementary to each other. GitHub Copilot is better than Jetbrains Resharper in code auto-generating. GitHub Copilot can’t replace Jetbrains Resharper in areas such as live templates, code refactoring, and code navigation.
- Increase developer productivity
- Increase developer happiness
- Accelerate software development
- Remain in your flow in the beloved editor (VS or VSCode)