From the course: AI-Powered Programming with GitHub Copilot by Microsoft Press
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Explore comment-based code generation - Github Copilot Tutorial
From the course: AI-Powered Programming with GitHub Copilot by Microsoft Press
Explore comment-based code generation
- [Instructor] Now, we've seen that the default behavior of GitHub Copilot is for the AI to give you recommendations live as you type. Something you can do in addition is do single line or multi-line comments. So your first order of business here is to make sure you know the comment syntax in your chosen programming or scripting language, both single line and multi-line variety. Second, you want to make sure that your integrated development environment understands your language, as well as GitHub Copilot. And in VS Code, this would be installing not only the relevant runtimes, libraries, and software development kits on your workstation, but also enabling, installing and enabling the appropriate VS Code language extensions. In this demo, I'm going to demonstrate both traditional comment-based suggestion generation, as well as GitHub Copilot Chat, which, in my humble opinion, is a very big deal, indeed. GitHub Copilot Chat…