Show surrounding context lines when reviewing PR diffs in the Agents window

Feature request for product/service

Cursor IDE

Describe the request

When reviewing PRs in the Agents window, I only see the changed lines, not the surrounding code. That makes it hard to understand context (function boundaries, guards, error handling, etc.) without opening the file or asking the agent for more context.

Request: Add surrounding context lines to PR diffs in Agents — either a default N lines above/below, or expand/collapse controls like GitHub (“show more above/below”).

This would make agent-assisted PR review much faster and more accurate.

Screenshot / Screen Recording

Operating System (if it applies)

MacOS

Hi there!

I agree, it would be much better if the surrounding lines were included. I believe we’ve tried to implement this before but ran into some issues. It’s still top of mind for improving the review experience!