This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What is a recommended practice to improve the performance of GitHub Copilot Chat?
Limiting the prompt to coding questions or tasks to enhance the model's output quality.
Using Copilot Chat as a replacement for human programming.
Ignoring secure coding and code review practices.
What is the best way to provide context to GitHub Copilot for better code suggestions?
By keeping all files closed in the editor.
By using complex function names.
By providing meaningful function names, specific function comments, and having related files open in the editor.
How can a developer optimize their experience when interacting with GitHub Copilot via chat?
By being vague about the inputs, outputs, APIs, or frameworks they want to use.
By using chat participants, slash commands, chat variables, and being specific in your prompts.
By asking Copilot to perform large tasks at once.
What is the effect of maintaining a high quality bar in your code when using GitHub Copilot?
Copilot latches on to your code to generate suggestions that follow the existing pattern.
It confuses Copilot and leads to irrelevant suggestions.
It slows down the suggestion process.
What are the two ways to generate code line completions using GitHub Copilot?
Generate completions from a code line and from a code file.
Generate completions from a comment and from a code line.
Generate completions from a comment and from a prompt.
How does GitHub Copilot determine the code completion suggestions it provides?
Based on the context of code in the editor.
Based on the programming language used.
Based on the length of the code written.
What happens when GitHub Copilot generates more than one code completion suggestion?
It adds all of the suggestions to your code.
It selects the most relevant suggestion automatically.
It enables developers to review each suggestion by selecting the left or right arrows.
What types of code conversions can be completed using GitHub Copilot?
Convert an entire code file, a function, or a code snippet to an image.
Convert an entire code file, a function, or a code snippet to another programming language.
Convert a programming language to a human language.
You must answer all questions before checking your work.
Was this page helpful?