Mastering GitHub Copilot as a developer: 15 Tips and Tricks
I have been an active user of Github Copilot for the last two years and I really like the way it improves my work with code and tech texts.
Today I want to share a set of practical tips and tricks to help you maximize its potential. I published them on my Twitter account and now it is time to collect them all in one place. Whether you’re an experienced developer or just starting out, I believe they can help you make your day-to-day work simpler and faster.
Cool use cases of Copilot
Completing code for you
This is a basic use case for Copilot, just start working with code and it will predict for you lines and the whole blocks
Writing tests from code
Copilot can help you to write tests for your code. Just write a test name and Copilot will generate a test template and some mock data from the name as well. It knows the previous context if you showed it the code, so it can use it to test real data.