SYNTHESIS NOTE
Topics›Human Centered Design›this note

Do programmers understand what context Copilot actually sees?

Explores whether users accurately grasp how AI code assistants access and use their codebase context. Matters because misconceptions about model visibility shape how developers write prompts and structure code.

Synthesis note · 2026-11-17 · sourced from Human Centered Design

In the same 20-participant grounded-theory study of Copilot use, the authors report "general confusion among participants about how Copilot uses their code to provide suggestions." Some assumed a hard input-length limit — P8 theorized "I think the README is too long and complicated for it to actually extract [helpful information]" — while others (P8, P10, P15, P18) "were unsure about which pieces of information Copilot had extracted about their local codebase." The clearest misconception: "there appeared to be a broad misconception that commenting out code made it invisible to Copilot," with P20 stating they "assumed it wouldn't be aware of code if [they] commented it out" — despite those same participants using comment prompts, and despite four participants (P2, P3, P4, P6) deliberately commenting out Copilot's own generated code hoping to prompt an alternative suggestion.

The paper's recommendation follows directly from this confusion: participants who understood Copilot's context-sensitivity wanted explicit mechanisms to control it, not just better explanations. P15 wished to "emphasize a subset of their code" (such as niche imported libraries) to raise confidence that suggestions were relevant; P4 and P12 wanted to query Copilot with a bare natural-language prompt, "without any code context, just as they would query StackOverflow"; P2 tried to force a specific function by "using the function name in backquotes"; P4 wanted Copilot to show only "syntax examples." The authors conclude that "future tools could give programmers ways to customize the context," for instance "a scratchpad to isolate general, StackOverflow-style prompts from the rest of the codebase."

This sits next to Do programmers switch between fast and slow modes with AI code assistants? (same study): the paper does not state which mode these context-confused participants were in, but the behaviors described — theorizing about input limits, commenting out code to test the model's awareness, trying invented syntax — read as exploration-mode behavior, where validation and prompting are already explicit rather than accepted on faith. It also parallels How should AI interfaces handle the shift from doing to supervising?: the backquote syntax, the StackOverflow-style bare prompt, and the requested scratchpad are all participant-invented substitutes for an intent surface that lets the user state what the agent should and should not attend to, which Copilot in this study did not provide. And it shares a root cause with Do proactive AI coding agents actually disrupt programmer workflow?, where disruption was eased by showing the agent's presence and shared context; here the friction is the mirror image — programmers cannot see what context the agent is already using, and the paper's proposed fix (a scratchpad, dedicated syntax) is a request for the same kind of visibility applied to inputs rather than agent state.

The excerpt does not say how often this confusion changed a participant's outcome — whether misjudging context led to worse suggestions, wasted time, or abandoned attempts — only that the misconception was widespread and that several participants acted on it. It also does not test whether the recommended fixes (a scratchpad, explicit syntax) would resolve the confusion if built, since these are the authors' design recommendations rather than something evaluated in the study. The finding that does follow directly from the data: a code-generating assistant that uses implicit, invisible context creates specific, describable misconceptions in experienced programmers, not just vague unease, and those misconceptions are concrete enough to name as missing product features.

Inquiring lines that read this note 6

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

Why does AI assistance boost immediate performance but reduce learning transfer? Do AI coding tools meaningfully improve developer productivity and quality? How should design principles adapt for AI-generated interfaces?

Related concepts in this collection 3

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
12 direct connections · 107 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

Copilot users misjudge what context the model can see and want explicit syntax to scope it