Рет қаралды 551
Get a preview of what Github Copilot looks like inside the Visual Studio Code IDE interface, see the difference between chat view, quick chat, inline chat and ghost text.
Learn about key use cases like writing unit tests, debugging, writing functions, adding documentation etc. can not only speed up your coding massively but also make sense of other people's complex code and also improve on your own code quality.
And yes, those pesky unit tests that are so boring to write. Now someone else can write that for you!
Mac shortcuts:
ctrl + cmd + I -- chat view
cmd + I -- inline chat
cmd + shift + I -- quick chat
tab -- accept ghost text
opt + ] -- toggle through code suggestions
opt + [ -- toggle back
ctrl + enter -- see all options
Here are the contents:
00:00:00 - intro - why GitHub copilot
00:01:15 - set up steps (for details: docs.github.co... )
00:02:08 - Visual Studio Code Integration points and keyboard shortcuts
00:05:08 - Sample use cases overview
00:07:00 - Check Co-pilot status
00:07:37 - Copilot help to set up new project files
00:09:30 - Copilot help to write a function based on text description, select option, see all suggestions
00:11:00 - Copilot help to write unit test case for the function that it just added
00:11:52 - Copilot finding the right bit of code in a big workspace
00:13:00 - Copilot helping to explain a function
00:13:44 - Refactoring a function
00:14:30 - Add documentation to code
00:15:15 - Explaining entire code file, not just one function, using file reference in chat view