GitHub Copilot Certification — Question 12

How can you improve the context used by GitHub Copilot? (Choose two.)

Answer options

Correct answer: A, D

Explanation

The correct answers are A and D. Opening relevant tabs in your IDE provides Copilot with immediate context about the code you are working on, while adding full file paths to your prompt allows Copilot to access specific files that are crucial for generating accurate suggestions. Options B and C do not provide the contextual information needed for better performance by Copilot.