How to use Github Copilot in Visual Studio Code IDE to create workspace, code unit tests and more!

Hubel Labs
Hubel Labs
615 بار بازدید - 5 ماه پیش - Get a preview of what
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.com/en/copilot/quickstart ) 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
5 ماه پیش در تاریخ 1403/02/13 منتشر شده است.
615 بـار بازدید شده
... بیشتر