🔥 3-day streak
GitHub Copilot55 / 190
Question 55 of 190
A developer is editing a partially written function in the IDE. Their cursor sits in the middle of the function body, with meaningful code both above and below the cursor. They notice that Copilot's inline suggestions seem to account for the lines that come after the cursor, not just the lines before it. When the Copilot client assembles the prompt for this completion request, how does it incorporate the code surrounding the cursor?
Reviewed for accuracy · Report an issueNext question