Having
used AI tool GitHub Copilot since 08/16/2023, I’ve realized that learning
GitHub Copilot is like learning a new framework or library of software. The
more you learn about the tool, the better you will be skillful as a software
engineer. Overall, my experience with GitHub Copilot was very positive. I found
GitHub Copilot helped me boost my productivity of the software development and
improved the coding experience. Here are a few tips to become a better software
developer boosted by GitHub Copilot or any Artificial Intelligence tools.
- IDE: Visual Studio 2022
Professional
- Language: C#
- 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)
No comments:
Post a Comment