Exam GitHub-Copilot Topic 2 Question 17 Discussion

Actual exam question for GitHub's GitHub-Copilot exam
Question #: 17
Topic #: 2
How can you use GitHub Copilot to get inline suggestions for refactoring your code? (Select two.)

Suggested Answer: A,E Vote an answer

You can use GitHub Copilot for inline refactoring suggestions by adding comments to your code to trigger suggestions and by highlighting the code and selecting "Refactor using GitHub Copilot" from the context menu.

by Stan at May 28, 2026, 09:33 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10